Fix release workflow

This commit is contained in:
ArthurSonzogni
2025-05-01 10:40:53 +02:00
parent ba6716c6e1
commit f4513702b0
6 changed files with 16 additions and 26 deletions

View File

@@ -30,11 +30,7 @@ jobs:
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
with:
# If manual: use the input, otherwise grab the tag from the completed run
tag_name: ${{
github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name ||
github.event_name == 'workflow_run' && github.event.workflow_run.head_branch
}}
tag_name: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name || github.event.workflow_run.head_branch }}
registry_fork: ArthurSonzogni/bazel-central-registry
secrets: