mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 08:03:10 +02:00
switch matrix to env for launchpad builds job since we're only running armhf
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user