Skip to content

Commit d0a82fb

Browse files
authored
ci: Add snapcraft publish action
1 parent 69a137c commit d0a82fb

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/release-please.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,24 @@ jobs:
5151
**/*.exe
5252
**/*.snap
5353
**/*.blockmap
54+
publish-to-snapcraft:
55+
name: Publish to Snapcraft
56+
needs:
57+
- publish
58+
- release-please
59+
runs-on: ubuntu-latest
60+
steps:
61+
- name: Download artifact
62+
uses: actions/download-artifact@v3
63+
with:
64+
name: built-app-x64-linux
65+
- name: Publish to Snapcraft
66+
uses: snapcore/action-publish@v1
67+
env:
68+
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_LOGIN }}
69+
with:
70+
snap: "*.snap"
71+
release: stable
5472
publish-to-winget:
5573
name: Publish to WinGet
5674
needs:

0 commit comments

Comments
 (0)