yq/.github/workflows/snap-release.yml

23 lines
549 B
YAML
Raw Normal View History

2022-11-14 06:28:44 +00:00
name: Release Snap
2022-11-14 06:00:50 +00:00
on:
release:
types: [released]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
buildSnap:
2022-11-14 06:28:15 +00:00
environment: snap
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2022-11-14 06:28:15 +00:00
- uses: snapcore/action-build@v1
id: build
- uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
with:
snap: ${{ steps.build.outputs.snap }}
2022-11-15 00:05:44 +00:00
release: stable