From f10e966591511d1c64c4b842bfcc0a83fb27b989 Mon Sep 17 00:00:00 2001 From: Alejandro Cabeza Romero Date: Mon, 1 Sep 2025 17:52:27 +0200 Subject: [PATCH] Fix circuit tag parsing. --- .github/workflows/build-circuits.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-circuits.yml b/.github/workflows/build-circuits.yml index 35781a4..504c34e 100644 --- a/.github/workflows/build-circuits.yml +++ b/.github/workflows/build-circuits.yml @@ -23,7 +23,7 @@ jobs: env: # Use the tag name if it is available, otherwise use the input version. # If neither is available, default to the commit hash. - TAG: ${{ github.events.release.tag_name || inputs.tag || 'circom_circuits-v0.0.0' }} + TAG: ${{ (github.ref_type == 'tag' && github.ref_name) || inputs.tag || '' }} run: | if [ -z "$TAG" ]; then echo "Could not determine tag."