Skip to content

Commit f9c8cd5

Browse files
fix: release.yaml
1 parent 67c3a1d commit f9c8cd5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ jobs:
9191
cache: true
9292
- uses: sigstore/[email protected] # installs cosign
9393
- uses: anchore/sbom-action/[email protected] # installs syft
94-
- uses: goreleaser/goreleaser-action@v5
95-
with:
96-
distribution: goreleaser
97-
version: latest
98-
args: release --clean
94+
- name: Install GoReleaser
95+
run: go install github.com/goreleaser/goreleaser@latest
96+
97+
- name: Run GoReleaser
98+
run: goreleaser release --rm-dist
9999
env:
100-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
100+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
101101
- name: verify release
102102
run: |
103103
COMMIT=$(git rev-list --tags --max-count=1)

0 commit comments

Comments
 (0)