Update README.md

This commit is contained in:
Tonye Jack 2021-05-27 08:40:24 -04:00 committed by GitHub
parent 26d836b90c
commit b013d7e962
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ Get branch or tag information without the `/ref/*` prefix
steps: steps:
- name: Get branch names - name: Get branch names
id: branch-name id: branch-name
uses: tj-actions/branch-names@v4.3.2 uses: tj-actions/branch-names@v4.3
``` ```
## Examples ## Examples
@ -39,7 +39,7 @@ Get branch or tag information without the `/ref/*` prefix
steps: steps:
- name: Get branch names - name: Get branch names
id: branch-name id: branch-name
uses: tj-actions/branch-names@v4.3.2 uses: tj-actions/branch-names@v4.3
- 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'
@ -121,7 +121,7 @@ on:
steps: steps:
- name: Get branch names. - name: Get branch names.
id: branch-names id: branch-names
uses: tj-actions/branch-names@v4.3.2 uses: tj-actions/branch-names@v4.3
- 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 }}