mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-12-27 14:27:59 +08:00
Update README.md
This commit is contained in:
parent
38fb177cdf
commit
cffa63d82e
@ -205,6 +205,8 @@ on:
|
|||||||
- name: Get branch names
|
- name: Get branch names
|
||||||
id: branch-name
|
id: branch-name
|
||||||
uses: tj-actions/branch-names@v7
|
uses: tj-actions/branch-names@v7
|
||||||
|
with:
|
||||||
|
strip_tag_prefix: v # Optionally strip the leading `v` from the tag.
|
||||||
|
|
||||||
- name: Running on a tag branch.
|
- name: Running on a tag branch.
|
||||||
if: steps.branch-name.outputs.is_tag == 'true'
|
if: steps.branch-name.outputs.is_tag == 'true'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user