Skip to content

Commit

Permalink
ci: use build-snap@release
Browse files Browse the repository at this point in the history
  • Loading branch information
Saviq committed Apr 15, 2024
1 parent fbff998 commit 008305e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/snap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 008305e

Please sign in to comment.