From 7dd15240a0268bd46a2ea49778ee5d3763c18ae6 Mon Sep 17 00:00:00 2001 From: Mark van Holsteijn Date: Sat, 30 Sep 2023 18:20:12 +0200 Subject: [PATCH] fix: goreleaser in gh action fails again. - downgrade gh action of goreleaser to match the cru implementation --- .github/workflows/release-binaries.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-binaries.yaml b/.github/workflows/release-binaries.yaml index d76bcb7..47c4342 100644 --- a/.github/workflows/release-binaries.yaml +++ b/.github/workflows/release-binaries.yaml @@ -14,6 +14,9 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + - + name: Fetch tags + run: git fetch --force --tags - name: Set up Go uses: actions/setup-go@v4 @@ -21,9 +24,9 @@ jobs: go-version: 1.20 - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v4 with: - version: 1.19.2 + version: latest args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}