ci: always include arm64 in build matrix

This commit is contained in:
Kevin Yue committed 2026-04-18 23:25:01 +08:00
1 parent ce7df6ea5c
commit 745e72892d
1 file changed
+2 -6
+2 -6
View File
@@ -33,7 +33,7 @@ env:
GPGUI_REF: ${{ github.event_name == 'pull_request' && github.base_ref || github.ref_name }} GPGUI_REF: ${{ github.event_name == 'pull_request' && github.base_ref || github.ref_name }}
jobs: jobs:
# Include arm64 if ref is a tag # Always include arm64
setup-matrix: setup-matrix:
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs: outputs:
@@ -42,11 +42,7 @@ jobs:
- name: Set up matrix - name: Set up matrix
id: set-matrix id: set-matrix
run: | 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
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
tarball: tarball:
runs-on: ubuntu-latest runs-on: ubuntu-latest