mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 06:33:50 +08:00
Update action.yml
This commit is contained in:
parent
6a7e02263c
commit
d1dce85278
@ -107,7 +107,7 @@ runs:
|
||||
# "Set the tag name..."
|
||||
if [[ "$GITHUB_REF" == "refs/tags/"* ]]; then
|
||||
REF=$(printf "%q" "$GITHUB_REF")
|
||||
TAG=${REF/refs\/tags\/$INPUTS_STRIP_TAG_PREFIX/}
|
||||
TAG="${REF/refs\/tags\/$INPUTS_STRIP_TAG_PREFIX/}"
|
||||
|
||||
echo "tag=$(eval printf "%s" "$TAG")" >> "$GITHUB_OUTPUT"
|
||||
echo "is_tag=true" >> "$GITHUB_OUTPUT"
|
||||
|
Loading…
Reference in New Issue
Block a user