From caa2cd3d20c5cd98b12d2c6aea7d0bd2bd691b67 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Wed, 6 Sep 2023 11:29:26 +1200 Subject: [PATCH] FIX Use push not tag --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index ffd2683..402229d 100644 --- a/action.yml +++ b/action.yml @@ -26,7 +26,7 @@ runs: run: | # refs/tags/0.1.23 => 0.1.23 TAG="" - if [[ $GITHUB_EVENT_NAME == 'tag' ]]; then + if [[ $GITHUB_EVENT_NAME == 'push' ]]; then # Use the current tag name the workflow was triggered on echo "Getting tag from github.ref" TAG=$(echo $GITHUB_REF | cut -c 11-)