From bb58aa7c7fc4dbfefe19d4dc287a39bab20d3e14 Mon Sep 17 00:00:00 2001 From: Mic Neale Date: Wed, 18 Dec 2024 15:35:39 +1100 Subject: [PATCH] trying another approach --- .github/workflows/cli-release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml index e10e9c0579..ecdb98e75a 100644 --- a/.github/workflows/cli-release.yml +++ b/.github/workflows/cli-release.yml @@ -13,10 +13,10 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-22.04, macos-latest] + os: [ubuntu-latest, macos-latest] architecture: [x86_64, aarch64] include: - - os: ubuntu-22.04 + - os: ubuntu-latest suffix: unknown-linux-gnu - os: macos-latest suffix: apple-darwin @@ -27,12 +27,12 @@ jobs: with: target: ${{ matrix.architecture }}-${{ matrix.suffix }} - name: Install cross-compilation tools and dependencies - if: matrix.os == 'ubuntu-22.04' + if: matrix.os == 'ubuntu-latest' run: | if [ "${{ matrix.architecture }}" = "aarch64" ]; then sudo dpkg --add-architecture arm64 fi - sudo apt-get update + sudo apt update sudo apt-get install -y pkg-config libssl-dev if [ "${{ matrix.architecture }}" = "aarch64" ]; then sudo apt-get install -y gcc-aarch64-linux-gnu libssl-dev:arm64 libc6-dev-arm64-cross