mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 16:30:31 +02:00
Use build_remote_single.py instead of build_remote.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user