mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-12-27 14:27:59 +08:00
Upgraded from v2.1 -> v2.2
This commit is contained in:
parent
4362da7333
commit
cece0f80f9
@ -24,7 +24,7 @@ Get branch information without the `/ref/*` prefix
|
||||
- uses: actions/checkout@v2
|
||||
- name: Get branch names
|
||||
id: branch-name
|
||||
uses: tj-actions/branch-names@v2.1
|
||||
uses: tj-actions/branch-names@v2.2
|
||||
|
||||
- name: Current branch name
|
||||
if: github.event_name == 'pull_request'
|
||||
@ -72,7 +72,7 @@ on:
|
||||
steps:
|
||||
- name: Get branch names.
|
||||
id: branch-names
|
||||
uses: tj-actions/branch-names@v2.1
|
||||
uses: tj-actions/branch-names@v2.2
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ steps.branch-names.outputs.base_ref_branch }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user