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

Commit 7513c5a

Browse files
committed
ci: add build support for snaps
1 parent da27827 commit 7513c5a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Diff for: .github/workflows/continuous.yml

+17
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ 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+
if: startsWith(github.ref, 'refs/tags/v')
19+
run: |
20+
echo "${{ secrets.SNAP_DEPLOY_TOKEN }}" > token.txt
21+
# if: github.ref == 'refs/heads/master'
22+
snapcraft upload --release=edge *.snap
23+
724
Wheel:
825
runs-on: ubuntu-latest
926
steps:

0 commit comments

Comments
 (0)