diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4e77ded4..d50671f9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -113,7 +113,7 @@ jobs: echo '${{ secrets.COSIGN_PRIVATE_KEY }}' > cosign.key - name: Release ${{ (!startsWith(github.ref, 'refs/tags/') && 'snapshot') || '' }} - uses: goreleaser/goreleaser-action@v3 + uses: goreleaser/goreleaser-action@v4 with: version: latest args: release --rm-dist ${{ (!startsWith(github.ref, 'refs/tags/') && '--snapshot') || '' }} ${{ ((startsWith(github.ref, 'refs/tags/') && endsWith(github.ref, '-draft')) && '-f .goreleaser.draft.yml') || '' }}