switch matrix to env for launchpad builds job since we're only running armhf

This commit is contained in:
Erica Portnoy
2026-04-29 11:12:41 -07:00
parent 541b76ef97
commit 95627450f3
+4 -6
View File
@@ -79,10 +79,8 @@ jobs:
name: Build armhf snaps name: Build armhf snaps
runs-on: runs-on:
- ubuntu-24.04 - ubuntu-24.04
strategy: env:
matrix: SNAP_ARCH: "armhf"
SNAP_ARCH:
- armhf
steps: steps:
- name: checkout - name: checkout
uses: actions/checkout@v6.0.2 uses: actions/checkout@v6.0.2
@@ -104,7 +102,7 @@ jobs:
git config --global user.name "${{ github.actor }}" git config --global user.name "${{ github.actor }}"
mkdir -p ~/.local/share/snapcraft/ mkdir -p ~/.local/share/snapcraft/
echo "$LAUNCHPAD_CREDS" > ~/.local/share/snapcraft/launchpad-credentials 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 - name: Prepare artifacts
run: |- run: |-
mv *.snap ${{ runner.temp }} mv *.snap ${{ runner.temp }}
@@ -112,7 +110,7 @@ jobs:
- name: Store snaps artifacts - name: Store snaps artifacts
uses: actions/upload-artifact@v7.0.0 uses: actions/upload-artifact@v7.0.0
with: with:
name: snaps_${{ matrix.SNAP_ARCH }} name: snaps_"$SNAP_ARCH"
path: "${{ runner.temp }}" path: "${{ runner.temp }}"
snap_run: snap_run:
name: snap_run ${{ matrix.arch-name }} name: snap_run ${{ matrix.arch-name }}