From b2c031e9c0210a9e86edf64e4250178888966ad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sawicz?= Date: Thu, 10 Oct 2024 18:29:23 +0200 Subject: [PATCH] ci: fix ppa-upload job --- .github/workflows/ppa-upload.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ppa-upload.yml b/.github/workflows/ppa-upload.yml index 53f631cb..60bd5579 100644 --- a/.github/workflows/ppa-upload.yml +++ b/.github/workflows/ppa-upload.yml @@ -14,7 +14,6 @@ jobs: fail-fast: true matrix: release: - - "23.10" - "24.04" - "devel" @@ -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 @@ -42,15 +41,22 @@ jobs: debhelper \ devscripts \ dput \ + dh-python \ python3-launchpadlib - name: Set up Launchpad credentials uses: DamianReeves/write-file-action@v1.3 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