Skip to content

Commit

Permalink
ci: Run goreleaser CI only on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
toshimaru committed Aug 21, 2023
1 parent 5f8cecf commit 7e28c2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
run: |
go build -v
go test ./...
# It only runs on Linux because the goreleaser command is executed on Linux.
- name: Run GoReleaser
if: runner.os == 'Linux'
uses: goreleaser/goreleaser-action@v4
with:
args: release --clean --snapshot --skip-publish
Expand Down

0 comments on commit 7e28c2e

Please sign in to comment.