snap: restore automatic promotion, but to candidate channel

Snap is switched to confined but we have to worry about timing our
next release with the new snapd which can work with it.

When we issue our next release we do want to get a binary saved at least,
so let's promote to the 'candidate' channel come release time.

This effectively reverts commit 57282a5903.

When the new snapd is out and we're happy enough with the results we
can switch this back to automatic promotion to the stable channel again.
This commit is contained in:
Mario Limonciello 2023-02-19 23:39:55 -06:00 committed by Mario Limonciello
parent cdd30731b6
commit 0d656e9daa

14
.github/workflows/snap-candidate.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: Publish to snap candidate channel
on:
release:
types: [published]
jobs:
snap:
uses: ./.github/workflows/snap.yml
with:
deploy: true
channel: candidate
secrets: inherit