-
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (25 loc) · 637 Bytes
/
snapstore.yml
File metadata and controls
31 lines (25 loc) · 637 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Build and Publish Snap
on:
push:
tags:
- 'v*'
jobs:
snap:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Write VERSION
run: echo "${GITHUB_REF_NAME}" > VERSION
- name: Build snap
id: build
uses: snapcore/action-build@v1
- name: Publish to Snap Store
uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
with:
snap: ${{ steps.build.outputs.snap }}
release: stable