From 7c2a82673390a74f39a98f1ab62ced755fd0c350 Mon Sep 17 00:00:00 2001 From: Trevor Brown Date: Sat, 3 Feb 2024 21:15:12 -0500 Subject: [PATCH] fix(golang-rewrite): try to get goreleaser action to generate snapshot builds --- .github/workflows/release-build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 2ee4d0df..5f4b7887 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -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 }}