Skip to content
This repository was archived by the owner on Dec 29, 2023. It is now read-only.

Commit 213d360

Browse files
committed
ci: add build support for snaps
1 parent da27827 commit 213d360

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Diff for: .github/workflows/continuous.yml

+16
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@ on:
44
- push
55

66
jobs:
7+
Snap:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
12+
- name: Install snapcraft
13+
run: |
14+
sudo snap install --classic snapcraft
15+
snapcraft --destructive-mode
16+
17+
- name: Publish to Snap Store
18+
run: |
19+
echo "${{ secrets.SNAP_DEPLOY_TOKEN }}" > token.txt
20+
# if: github.ref == 'refs/heads/master'
21+
snapcraft upload --release=edge *.snap
22+
723
Wheel:
824
runs-on: ubuntu-latest
925
steps:

0 commit comments

Comments
 (0)