Merge pull request #14 from gadget-inc/sc/update-github-workflows #15
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: nixbuild/nix-quick-install-action@v30 | |
with: | |
nix_conf: experimental-features = nix-command flakes | |
- run: nix flake check | |
- uses: goreleaser/goreleaser-action@v6 | |
with: | |
install-only: true | |
- name: goreleaser release --rm-dist | |
run: nix develop -c goreleaser release --rm-dist | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |