From c4ab064002fba50ded51a308e502b7472534f332 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Thu, 2 Jan 2025 18:01:47 -0800 Subject: [PATCH] Check if tag directly (#127) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}