mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 17:13:51 +08:00
Update action.yml
This commit is contained in:
parent
055227d872
commit
8f0fb44e37
@ -64,7 +64,7 @@ runs:
|
||||
run: |
|
||||
if [[ "${{ github.ref }}" == "refs/tags/"* ]]; then
|
||||
export REF=${{ github.ref }}
|
||||
TAG=${REF/refs\/tags\${{ inputs.strip_tag_prefix }}//}
|
||||
TAG=${REF/refs\/tags\/${{ inputs.strip_tag_prefix }}/}
|
||||
echo "::set-output name=tag::$TAG"
|
||||
fi
|
||||
shell: bash
|
||||
|
Loading…
Reference in New Issue
Block a user