Skip to content

Commit

Permalink
Chore: Publish snaps on mainline to stable channel
Browse files Browse the repository at this point in the history
  • Loading branch information
matifali committed Dec 3, 2024
1 parent 0e234b7 commit e4e01c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish-snaps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,12 @@ jobs:
- uses: snapcore/action-build@v1
id: build
if: ${{ steps.metadata.outputs.release_channel == 'mainline' }}

- uses: snapcore/action-publish@v1
if: ${{ steps.metadata.outputs.release_channel == 'mainline' }}
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
with:
snap: ${{ steps.build.outputs.snap }}
release: ${{ steps.metadata.outputs.release_channel }}
release: stable

0 comments on commit e4e01c2

Please sign in to comment.