Skip to content

update version to 6.0.30 #34

update version to 6.0.30

update version to 6.0.30 #34

Workflow file for this run

name: snapcraft
on: push
jobs:
build:
runs-on: ubuntu-latest
outputs:
snap-file: ${{ steps.build.outputs.snap }}
steps:
- uses: actions/checkout@v3
- uses: snapcore/action-build@v1
id: build
- uses: actions/upload-artifact@v3
with:
name: snap
path: ${{ steps.build.outputs.snap }}
push-master:
needs: build
runs-on: ubuntu-20.04
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/download-artifact@v3
with:
name: snap
path: .
- uses: snapcore/action-publish@master
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_LOGIN }}
with:
snap: ${{needs.build.outputs.snap-file}}
release: candidate
push-beta:
needs: build
runs-on: ubuntu-20.04
if: github.ref == 'refs/heads/beta'
steps:
- uses: actions/download-artifact@v3
with:
name: snap
path: .
- uses: snapcore/action-publish@master
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_LOGIN }}
with:
snap: ${{needs.build.outputs.snap-file}}
release: beta