mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-24 00:23:51 +08:00
Update README.md
This commit is contained in:
parent
240844e3f6
commit
d521565461
@ -10,7 +10,7 @@ Get branch information without the `/ref/*` prefix
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Get branch names
|
- name: Get branch names
|
||||||
uses: tj-actions/branch-names@v1
|
uses: tj-actions/branch-names@v2
|
||||||
id: branch-names
|
id: branch-names
|
||||||
- name: Get Ref brach name
|
- name: Get Ref brach name
|
||||||
run: |
|
run: |
|
||||||
@ -45,7 +45,7 @@ on:
|
|||||||
steps:
|
steps:
|
||||||
- name: Get branch names.
|
- name: Get branch names.
|
||||||
id: branch-names
|
id: branch-names
|
||||||
uses: tj-actions/branch-names@v1
|
uses: tj-actions/branch-names@v2
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ref: ${{ steps.branch-names.outputs.base_ref_branch }}
|
ref: ${{ steps.branch-names.outputs.base_ref_branch }}
|
||||||
|
Loading…
Reference in New Issue
Block a user