From 95627450f31be7b05a0a0d63b7bace5abf32cb60 Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Wed, 29 Apr 2026 11:12:41 -0700 Subject: [PATCH] switch matrix to env for launchpad builds job since we're only running armhf --- .github/workflows/snap_packaging_jobs.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/snap_packaging_jobs.yml b/.github/workflows/snap_packaging_jobs.yml index 88c097b68..8c3568378 100644 --- a/.github/workflows/snap_packaging_jobs.yml +++ b/.github/workflows/snap_packaging_jobs.yml @@ -79,10 +79,8 @@ jobs: name: Build armhf snaps runs-on: - ubuntu-24.04 - strategy: - matrix: - SNAP_ARCH: - - armhf + env: + SNAP_ARCH: "armhf" steps: - name: checkout uses: actions/checkout@v6.0.2 @@ -104,7 +102,7 @@ jobs: git config --global user.name "${{ github.actor }}" mkdir -p ~/.local/share/snapcraft/ echo "$LAUNCHPAD_CREDS" > ~/.local/share/snapcraft/launchpad-credentials - python3 tools/snap/build_remote.py ALL --archs ${{ matrix.SNAP_ARCH }} --timeout ${{ env.snapBuildTimeout }} + python3 tools/snap/build_remote.py ALL --archs "$SNAP_ARCH" --timeout ${{ env.snapBuildTimeout }} - name: Prepare artifacts run: |- mv *.snap ${{ runner.temp }} @@ -112,7 +110,7 @@ jobs: - name: Store snaps artifacts uses: actions/upload-artifact@v7.0.0 with: - name: snaps_${{ matrix.SNAP_ARCH }} + name: snaps_"$SNAP_ARCH" path: "${{ runner.temp }}" snap_run: name: snap_run ${{ matrix.arch-name }}