Update README.md

This commit is contained in:
Tonye Jack 2020-12-11 10:39:03 -05:00 committed by GitHub
parent d3cef8b692
commit 8e819384f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,9 +7,9 @@ Get branch information without the `/ref/*` prefix
...
steps:
- uses: actions/checkout@v2
- name: Get branch name
- name: Get branch names
uses: tj-actions/branch-names@v1
id: branch-name
id: branch-names
- name: Get Ref brach name
run: |
echo "${{ steps.branch-name.outputs.ref_branch }}" # Outputs: "main"