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
parent df8a6a7eaf
commit 074b40e6ee

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