Skip to content

Commit

Permalink
ci: fix ppa-upload job
Browse files Browse the repository at this point in the history
  • Loading branch information
Saviq committed Oct 10, 2024
1 parent 42d64e7 commit b2c031e
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ppa-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
fail-fast: true
matrix:
release:
- "23.10"
- "24.04"
- "devel"

Expand All @@ -28,7 +27,7 @@ jobs:
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg-private-key: ${{ secrets.MIR_BOT_GPG_PRIVATE_KEY }}
gpg_private_key: ${{ secrets.MIR_BOT_GPG_PRIVATE_KEY }}

- name: Check out code
uses: actions/checkout@v4
Expand All @@ -42,15 +41,22 @@ jobs:
debhelper \
devscripts \
dput \
dh-python \
python3-launchpadlib
- name: Set up Launchpad credentials
uses: DamianReeves/[email protected]
with:
path: lp_credentials
path: ${{ github.workspace }}/../lp_credentials
contents: ${{ secrets.LAUNCHPAD_CREDENTIALS }}

- name: Upload to PPA
env:
RELEASE: ${{ matrix.release }}
run: tools/ppa-upload.sh lp_credentials
run: tools/ppa-upload.sh ${{ github.workspace }}/../lp_credentials

- if: ${{ failure() && runner.debug }}
name: Setup upterm session
uses: mxschmitt/action-tmate@v3
with:
limit-access-to-actor: true

0 comments on commit b2c031e

Please sign in to comment.