mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-08-02 20:42:24 +00:00
build: test snapcraft working
This commit is contained in:
parent
b144d9d910
commit
f6998303e7
2 changed files with 13 additions and 2 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue