From a162196980b2c729c092e6a05ec6c27a129b66c0 Mon Sep 17 00:00:00 2001 From: michaeljguarino Date: Thu, 6 Jun 2024 14:27:33 -0400 Subject: [PATCH] Fix goreleaser version (#515) Apparently goreleaser 2 has deprecated our config file, just revert to a fixed prior vsn for now --- .github/workflows/ci.yaml | 4 ++-- .github/workflows/goreleaser-cd.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cc210e16..541b0c29 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -439,10 +439,10 @@ jobs: sudo apt update sudo apt install -y libwebkit2gtk-4.0-dev libgtk-3-dev - name: GoReleaser (Build) - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser-pro - version: latest + version: "~> v1" args: release --clean --split --timeout 90m env: CGO_LDFLAGS: "${{ matrix.goos == 'darwin' && '-framework UniformTypeIdentifiers' || '' }}" diff --git a/.github/workflows/goreleaser-cd.yml b/.github/workflows/goreleaser-cd.yml index 406086ca..27d15b44 100644 --- a/.github/workflows/goreleaser-cd.yml +++ b/.github/workflows/goreleaser-cd.yml @@ -52,10 +52,10 @@ jobs: env: INPUT_PREFIX: v - name: GoReleaser (Build) - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser-pro - version: latest + version: "~> v1" args: release --clean --split --timeout 90m env: CGO_LDFLAGS: "${{ matrix.goos == 'darwin' && '-framework UniformTypeIdentifiers' || '' }}" @@ -107,11 +107,11 @@ jobs: env: INPUT_PREFIX: v - name: GoReleaser (Release) - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v6 if: steps.cache.outputs.cache-hit != 'true' # do not run if cache hit with: distribution: goreleaser-pro - version: latest + version: "~> v1" args: continue --merge --timeout 90m env: GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}