Skip to content

Commit

Permalink
build: use official goreleaser/goreleaser-action
Browse files Browse the repository at this point in the history
  • Loading branch information
mfridman committed Mar 11, 2024
1 parent d90fb4f commit 51d6b11
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,12 @@ jobs:
go vet ./...
go build ./...
make test-packages
- name: Install GoReleaser
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.go-version == '1.22'
uses: goreleaser/goreleaser-action@v5
with:
install-only: true
- name: Gorelease dry-run
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.go-version == '1.22'
run: |
go install github.com/goreleaser/goreleaser@latest
goreleaser build

0 comments on commit 51d6b11

Please sign in to comment.