Skip to content

Commit

Permalink
ci: enable push to beta and candidate on snapstore
Browse files Browse the repository at this point in the history
  • Loading branch information
marabesi committed Oct 30, 2021
1 parent 1e2fe9d commit 718100d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,33 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: install
run: npm install

- name: build
run: npm run build

- name: package
run: npm run package

- name: publish snap edge
- uses: snapcore/action-publish@v1
with:
store_login: ${{ secrets.STORE_LOGIN }}
snap: "dist/json-tool_${{ github.event.inputs.version }}_amd64.snap"
release: edge

- name: publish snap beta
- uses: snapcore/action-publish@v1
with:
store_login: ${{ secrets.STORE_LOGIN }}
snap: "dist/json-tool_${{ github.event.inputs.version }}_amd64.snap"
release: beta

- name: publish snap candidate
- uses: snapcore/action-publish@v1
with:
store_login: ${{ secrets.STORE_LOGIN }}
snap: "dist/json-tool_${{ github.event.inputs.version }}_amd64.snap"
release: candidate

0 comments on commit 718100d

Please sign in to comment.