From 6b98da5bc7dc41cd89199a4bf0cfd82293bc8125 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 25 Oct 2024 09:01:16 +0000 Subject: [PATCH 1/2] Update goreleaser/goreleaser-action action to v6 --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2ba1f08..1d01066 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -35,14 +35,14 @@ jobs: go mod tidy go test -v ./... - name: Test build - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 if: success() && !startsWith(github.ref, 'refs/tags/') with: args: build --rm-dist --snapshot env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Build release - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 if: success() && startsWith(github.ref, 'refs/tags/') with: version: latest From e327b8a68d75aff495ef9f7cc3769471211885b4 Mon Sep 17 00:00:00 2001 From: Vemund Gaukstad Date: Fri, 25 Oct 2024 11:08:01 +0200 Subject: [PATCH 2/2] change from --rm-dist to --clean (deprecation) --- .github/workflows/build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1d01066..0607564 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -38,7 +38,7 @@ jobs: uses: goreleaser/goreleaser-action@v6 if: success() && !startsWith(github.ref, 'refs/tags/') with: - args: build --rm-dist --snapshot + args: build --clean --snapshot env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Build release @@ -46,6 +46,6 @@ jobs: if: success() && startsWith(github.ref, 'refs/tags/') with: version: latest - args: release --rm-dist + args: release --clean env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}