Merge pull request #34 from tj-actions/upgrade-to-v4

Upgraded to v4
This commit is contained in:
Tonye Jack 2021-04-24 22:56:32 -04:00 committed by GitHub
commit ec750d494c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,13 @@
# 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)
[Full Changelog](https://github.com/tj-actions/branch-names/compare/v3.5...v3.6)

View File

@ -31,7 +31,7 @@ Get branch or tag information without the `/ref/*` prefix
- uses: actions/checkout@v2
- name: Get branch names
id: branch-name
uses: tj-actions/branch-names@v3.6
uses: tj-actions/branch-names@v4
```
## Examples
@ -42,7 +42,7 @@ Get branch or tag information without the `/ref/*` prefix
- uses: actions/checkout@v2
- name: Get branch names
id: branch-name
uses: tj-actions/branch-names@v3.6
uses: tj-actions/branch-names@v4
- name: Running on the default branch.
if: steps.branch-name.outputs.is_default == 'true'
@ -107,7 +107,7 @@ on:
steps:
- name: Get branch names.
id: branch-names
uses: tj-actions/branch-names@v3.6
uses: tj-actions/branch-names@v4
- uses: actions/checkout@v2
with:
ref: ${{ steps.branch-names.outputs.base_ref_branch }}