Skip to content

Commit

Permalink
fix(ci): fix goreleaser args
Browse files Browse the repository at this point in the history
  • Loading branch information
astromechza committed Jul 3, 2024
1 parent 725f628 commit 7d0eeb4
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ jobs:
run: go test ./... -cover -race
-
name: Build binary
run: go build -o score-k8s ./
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: '~> v2'
args: build --snapshot
-
name: Install license check tool
run: go install github.com/google/addlicense@latest
Expand Down Expand Up @@ -58,11 +62,11 @@ jobs:
go-version-file: 'go.mod'
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: release --rm-dist
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}

0 comments on commit 7d0eeb4

Please sign in to comment.