build: test snapcraft working

This commit is contained in:
Johannes Millan 2022-08-19 14:45:38 +02:00
parent b144d9d910
commit f6998303e7
2 changed files with 13 additions and 2 deletions

View file

@ -10,6 +10,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v1
with:
# Log in to Snap Store
snapcraft_token: ${{ secrets.snapcraft_token }}
- name: Use Snapcraft
run: snapcraft --help
- uses: actions/setup-node@v3
with:
node-version: 16
@ -64,8 +72,11 @@ jobs:
# Log in to Snap Store
snapcraft_token: ${{ secrets.snapcraft_token }}
- name: Use Snapcraft
run: snapcraft --help
# Release to edge if no tag and to candidate if tag
- run: snapcraft push app-builds/superProductivity*.snap --release edge
- run: echo "SNAAAAP" && snapcraft push app-builds/superProductivity*.snap --release edge
if: false == startsWith(github.ref, 'refs/tags/v')
- run: snapcraft push app-builds/superProductivity*.snap --release candidate
if: startsWith(github.ref, 'refs/tags/v')

View file

@ -1,6 +1,6 @@
// this file is automatically generated by git.version.ts script
export const versions = {
version: '7.11.2',
version: '7.11.5',
revision: 'NO_REV',
branch: 'NO_BRANCH',
};