fix(golang-rewrite): try to get goreleaser action to generate snapshot builds

This commit is contained in:
Trevor Brown 2024-02-03 21:15:12 -05:00
parent cfc473fb5c
commit 7439ea9168

View File

@ -87,13 +87,14 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: '1.21.5'
cache: true
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
# Downgraded to version 4 to get snapshot feature working
uses: goreleaser/goreleaser-action@v4
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: "v0.0.0"
version: latest
args: release --clean --snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}