Skip to content

Commit

Permalink
fix: goreleaser GA
Browse files Browse the repository at this point in the history
  • Loading branch information
dav009 committed Sep 24, 2023
1 parent ebeb139 commit c61ca5d
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,16 @@ jobs:
with:
fetch-depth: 0

- uses: cachix/install-nix-action@v16

- name: Run goreleaser
run: nix develop --command -- goreleaser release --rm-dist --config .goreleaser.yaml
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.21
id: go

- name: Create a Release using GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean --config .goreleaser.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c61ca5d

Please sign in to comment.