mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 19:23:50 +08:00
Updated steps.
This commit is contained in:
parent
c05e12be63
commit
127dec783a
@ -35,9 +35,12 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- id: branch
|
- id: branch
|
||||||
run: |
|
run: |
|
||||||
echo "::set-output name=base_ref_branch::${INPUT_BASE_REF/refs\/heads\//}"
|
export BASE_REF=${{ inputs.base_ref }}
|
||||||
echo "::set-output name=head_ref_branch::${INPUT_HEAD_REF/refs\/heads\//}"
|
export HEAD_REF=${{ inputs.head_ref }}
|
||||||
echo "::set-output name=ref_branch::${INPUT_REF/refs\/heads\//}"
|
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\/heads\//}"
|
||||||
shell: bash
|
shell: bash
|
||||||
branding:
|
branding:
|
||||||
icon: git-branch
|
icon: git-branch
|
||||||
|
Loading…
Reference in New Issue
Block a user