Skip to content

Commit

Permalink
Update release.yml (#143)
Browse files Browse the repository at this point in the history
Goreleaser not working, removed deprecated --rm-dist in favor of --clean
  • Loading branch information
djschleen committed Mar 3, 2023
1 parent 75cc9d1 commit 312dc36
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,6 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: 1.20
-
name: GoReleaser Action
uses: goreleaser/goreleaser-action@v4.2.0
with:
distribution: goreleaser
version: ${{ env.GITHUB_REF_NAME }}
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
-
name: Generate SBOM
uses: anchore/sbom-action@v0
Expand All @@ -43,4 +34,12 @@ jobs:
uses: anchore/sbom-action/publish-sbom@v0
with:
sbom-artifact-match: ".*\\.cyclonedx.json$"
-
name: GoReleaser Action
uses: goreleaser/goreleaser-action@v4.2.0
with:
version: ${{ env.GITHUB_REF_NAME }}
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}

0 comments on commit 312dc36

Please sign in to comment.