Skip to content

Commit 3be46d8

Browse files
authored
chore: publish mainline snap releases to stable channel (#190)
1 parent 0e234b7 commit 3be46d8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish-snaps.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,12 @@ jobs:
5959
6060
- uses: snapcore/action-build@v1
6161
id: build
62+
if: ${{ steps.metadata.outputs.release_channel == 'mainline' }}
6263

6364
- uses: snapcore/action-publish@v1
65+
if: ${{ steps.metadata.outputs.release_channel == 'mainline' }}
6466
env:
6567
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
6668
with:
6769
snap: ${{ steps.build.outputs.snap }}
68-
release: ${{ steps.metadata.outputs.release_channel }}
70+
release: stable

0 commit comments

Comments
 (0)