mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 19:33:52 +08:00
Update action.yml
This commit is contained in:
parent
2b1d4656c0
commit
f3c06da963
@ -40,7 +40,8 @@ runs:
|
||||
export REF=${{ inputs.ref }}
|
||||
echo "::set-output name=base_ref_branch::${BASE_REF/refs\/heads\//}"
|
||||
echo "::set-output name=head_ref_branch::${HEAD_REF/refs\/heads\//}"
|
||||
echo "::set-output name=ref_branch::${${REF/refs\/pull\//}/refs\/heads\//}"
|
||||
REF_BRANCH=${REF/refs\/pull\//}
|
||||
echo "::set-output name=ref_branch::${$REF_BRANCH/refs\/heads\//}"
|
||||
shell: bash
|
||||
branding:
|
||||
icon: git-branch
|
||||
|
Loading…
Reference in New Issue
Block a user