mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-27 11:13:50 +08:00
Update README.md
This commit is contained in:
parent
0e1a5f287c
commit
8f2716c5d1
@ -10,6 +10,14 @@
|
|||||||
|
|
||||||
Get branch or tag information without the `/ref/*` prefix
|
Get branch or tag information without the `/ref/*` prefix
|
||||||
|
|
||||||
|
|
||||||
|
## Features
|
||||||
|
- Retrieve the current branch name without any prefix
|
||||||
|
- Retrieve the current tag with an option to strip the "v" prefix
|
||||||
|
- Detect actions triggered by non default branches
|
||||||
|
- Detect actions triggered by the default branch
|
||||||
|
|
||||||
|
|
||||||
## Supported Platforms
|
## Supported Platforms
|
||||||
|
|
||||||
* [`ubuntu-*`](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
|
* [`ubuntu-*`](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
|
||||||
|
Loading…
Reference in New Issue
Block a user