From 745e72892dd9d4deed5ed64eaeb69b7fa425463c Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Sat, 18 Apr 2026 23:25:01 +0800 Subject: [PATCH] ci: always include arm64 in build matrix --- .github/workflows/build.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ae99358..8956f14 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -33,7 +33,7 @@ env: GPGUI_REF: ${{ github.event_name == 'pull_request' && github.base_ref || github.ref_name }} jobs: - # Include arm64 if ref is a tag + # Always include arm64 setup-matrix: runs-on: ubuntu-latest outputs: @@ -42,11 +42,7 @@ jobs: - name: Set up matrix id: set-matrix run: | - if [[ "${{ github.ref }}" == "refs/tags/"* ]]; then - echo 'matrix=[{"runner": "ubuntu-latest", "arch": "amd64"}, {"runner": "ubuntu-24.04-arm", "arch": "ubuntu-24.04-arm"}]' >> $GITHUB_OUTPUT - else - echo 'matrix=[{"runner": "ubuntu-latest", "arch": "amd64"}]' >> $GITHUB_OUTPUT - fi + echo 'matrix=[{"runner": "ubuntu-latest", "arch": "amd64"}, {"runner": "ubuntu-24.04-arm", "arch": "ubuntu-24.04-arm"}]' >> $GITHUB_OUTPUT tarball: runs-on: ubuntu-latest