Update README.md

This commit is contained in:
Tonye Jack 2021-04-24 06:56:02 -04:00 committed by GitHub
parent 1bd8ecd828
commit 104e14c3a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,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
uses: tj-actions/branch-names@v3.1
```
## Examples
@ -36,7 +36,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
uses: tj-actions/branch-names@v3.1
- name: Running on the default branch.
if: steps.branch-name.outputs.is_default == 'true'
@ -101,7 +101,7 @@ on:
steps:
- name: Get branch names.
id: branch-names
uses: tj-actions/branch-names@v3
uses: tj-actions/branch-names@v3.1
- uses: actions/checkout@v2
with:
ref: ${{ steps.branch-names.outputs.base_ref_branch }}