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
d3cef8b692
commit
8e819384f9
@ -7,9 +7,9 @@ Get branch information without the `/ref/*` prefix
|
||||
...
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Get branch name
|
||||
- name: Get branch names
|
||||
uses: tj-actions/branch-names@v1
|
||||
id: branch-name
|
||||
id: branch-names
|
||||
- name: Get Ref brach name
|
||||
run: |
|
||||
echo "${{ steps.branch-name.outputs.ref_branch }}" # Outputs: "main"
|
||||
|
Loading…
x
Reference in New Issue
Block a user