Use build_remote_single.py instead of build_remote.py

This commit is contained in:
Erica Portnoy
2026-06-11 11:12:41 -07:00
parent f7b5c61f04
commit 29e13edc76
2 changed files with 211 additions and 5 deletions
+2 -5
View File
@@ -12,9 +12,6 @@ on:
permissions:
contents: read
env:
SNAP_BUILD_TIMEOUT: ${{ inputs.snapBuildTimeout }}
jobs:
gha_build_snap:
name: Build certbot ${{ matrix.build-for }}
@@ -114,7 +111,7 @@ jobs:
- uses: actions/setup-python@v6.2.0
with:
python-version: '3.12'
- name: Build snaps
- name: Build snap
env:
LAUNCHPAD_CREDS: "${{ secrets.LAUNCHPAD_CREDENTIALS }}"
run: |-
@@ -122,7 +119,7 @@ jobs:
git config --global user.name "41898282+github-actions[bot]@users.noreply.github.com"
mkdir -p ~/.local/share/snapcraft/
echo "$LAUNCHPAD_CREDS" > ~/.local/share/snapcraft/launchpad-credentials
python3 tools/snap/build_remote.py ${{ matrix.target }} --archs "$SNAP_ARCH" --timeout "$SNAP_BUILD_TIMEOUT"
python3 tools/snap/build_remote_single.py ${{ matrix.target }} --arch "$SNAP_ARCH"
- name: Flatten snaps layout
run: |-
mv *.snap ${{ runner.temp }} || true