mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-12-27 14:27:59 +08:00
commit
ec750d494c
@ -1,5 +1,13 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [v4](https://github.com/tj-actions/branch-names/tree/v4) (2021-04-25)
|
||||||
|
|
||||||
|
[Full Changelog](https://github.com/tj-actions/branch-names/compare/v3.6...v4)
|
||||||
|
|
||||||
|
**Merged pull requests:**
|
||||||
|
|
||||||
|
- Upgraded to v3.6 [\#33](https://github.com/tj-actions/branch-names/pull/33) ([jackton1](https://github.com/jackton1))
|
||||||
|
|
||||||
## [v3.6](https://github.com/tj-actions/branch-names/tree/v3.6) (2021-04-25)
|
## [v3.6](https://github.com/tj-actions/branch-names/tree/v3.6) (2021-04-25)
|
||||||
|
|
||||||
[Full Changelog](https://github.com/tj-actions/branch-names/compare/v3.5...v3.6)
|
[Full Changelog](https://github.com/tj-actions/branch-names/compare/v3.5...v3.6)
|
||||||
|
@ -31,7 +31,7 @@ Get branch or tag information without the `/ref/*` prefix
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Get branch names
|
- name: Get branch names
|
||||||
id: branch-name
|
id: branch-name
|
||||||
uses: tj-actions/branch-names@v3.6
|
uses: tj-actions/branch-names@v4
|
||||||
```
|
```
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
@ -42,7 +42,7 @@ Get branch or tag information without the `/ref/*` prefix
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Get branch names
|
- name: Get branch names
|
||||||
id: branch-name
|
id: branch-name
|
||||||
uses: tj-actions/branch-names@v3.6
|
uses: tj-actions/branch-names@v4
|
||||||
|
|
||||||
- name: Running on the default branch.
|
- name: Running on the default branch.
|
||||||
if: steps.branch-name.outputs.is_default == 'true'
|
if: steps.branch-name.outputs.is_default == 'true'
|
||||||
@ -107,7 +107,7 @@ on:
|
|||||||
steps:
|
steps:
|
||||||
- name: Get branch names.
|
- name: Get branch names.
|
||||||
id: branch-names
|
id: branch-names
|
||||||
uses: tj-actions/branch-names@v3.6
|
uses: tj-actions/branch-names@v4
|
||||||
- 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…
x
Reference in New Issue
Block a user