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