mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-12-27 14:27:59 +08:00
commit
8f5a2419fb
@ -22,7 +22,7 @@ Get branch information without the `/ref/*` prefix
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Get branch names
|
||||
uses: tj-actions/branch-names@v2
|
||||
uses: tj-actions/branch-names@v2.1
|
||||
id: branch-names
|
||||
|
||||
- name: Current branch name
|
||||
@ -71,7 +71,7 @@ on:
|
||||
steps:
|
||||
- name: Get branch names.
|
||||
id: branch-names
|
||||
uses: tj-actions/branch-names@v2
|
||||
uses: tj-actions/branch-names@v2.1
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ steps.branch-names.outputs.base_ref_branch }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user