Skip to content

Build and release snap #8

Build and release snap

Build and release snap #8

Workflow file for this run

name: release
run-name: Build and release snap
on:
create:
branches: [main]
jobs:
build-and-release:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/build
id: build
- uses: ncipollo/release-action@v1
with:
bodyFile: RELEASE.md
artifacts: ${{ steps.build.outputs.snap }}
makeLatest: true
skipIfReleaseExists: true
artifactErrorsFailBuild: true