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 }}