mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-12-27 14:27:59 +08:00
Update action.yml
This commit is contained in:
parent
f8e9fb3c65
commit
615433a5a2
@ -55,8 +55,10 @@ runs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
- id: default
|
- id: default
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ steps.current_branch.outputs.current_branch }}" == "${{ steps.current_branch.outputs.base_ref_branch }}" ]]; then
|
if [[ -z "${{ steps.branch.outputs.head_ref_branch }}" ]]; then
|
||||||
echo "::set-output name=is_default::true"
|
if [[ "${{ steps.current_branch.outputs.current_branch }}" == "${{ steps.current_branch.outputs.ref_branch }}" ]]; then
|
||||||
|
echo "::set-output name=is_default::true"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo "::set-output name=is_default::false"
|
echo "::set-output name=is_default::false"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user