Skip to content

Commit

Permalink
FIX Use push not tag
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Sep 5, 2023
1 parent df8f498 commit caa2cd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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-)
Expand Down

0 comments on commit caa2cd3

Please sign in to comment.