From 91444947498a28afc5fe636cca29ad31966a1725 Mon Sep 17 00:00:00 2001 From: Stuart Mumford Date: Tue, 12 Nov 2024 21:44:50 +0000 Subject: [PATCH] uname -m ?! --- .github/workflows/publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d797729..63da93c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -144,8 +144,12 @@ jobs: lfs: true submodules: ${{ inputs.submodules }} ref: ${{ inputs.checkout_ref }} + - name: Get machine arch + id: uname-m + run: | + uname -m >> "$GITHUB_OUTPUT" - name: Set up QEMU - if: ${{ matrix.CIBW_ARCHS == 'aarch64' }} + if: ${{ matrix.CIBW_ARCHS != steps.uname-m.output }} uses: docker/setup-qemu-action@v3 with: platforms: all