mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-13 22:38:04 +00:00
23 lines
549 B
YAML
23 lines
549 B
YAML
name: Release Snap
|
|
|
|
on:
|
|
release:
|
|
types: [released]
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
buildSnap:
|
|
environment: snap
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- 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 }}
|
|
release: stable |