mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-12-27 14:27:59 +08:00
Merge pull request #14 from tj-actions/upgrade-to-v2.2
This commit is contained in:
commit
7339591b43
@ -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: Running on the default branch.
|
||||
if: ${{ steps.branch-name.outputs.is_default }}
|
||||
@ -84,7 +84,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