diff --git a/.github/workflows/snap.yml b/.github/workflows/snap.yml index 7afc545..ed77a15 100644 --- a/.github/workflows/snap.yml +++ b/.github/workflows/snap.yml @@ -31,9 +31,11 @@ jobs: sed -i 's@rev-list --count@rev-parse --short@' snap/snapcraft.yaml - name: Build and publish the snap - uses: canonical/actions/build-snap@multiarch + uses: canonical/actions/build-snap@release with: architecture: ${{ matrix.platform }} snapcraft-token: ${{ secrets.SNAPCRAFT_TOKEN }} + launchpad-credentials: ${{ secrets.LAUNCHPAD_CREDENTIALS }} + launchpad-accept-public-upload: true publish: ${{ github.event_name == 'pull_request' && github.repository == github.event.pull_request.head.repo.full_name }} publish-channel: 24/edge/pr${{ github.event.number }}