diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9bb85ea..4b3e720 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6.1.0 with: version: v2.5.1 # renovate: datasource=github-tags depName=goreleaser/goreleaser - args: build --clean ${{ !startsWith(github.ref, 'refs/tags/') && '--snapshot' || '' }} + args: build --clean ${{ github.ref_type != 'tag' && '--snapshot' || '' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}