Update action.yml

This commit is contained in:
Tonye Jack 2021-02-13 22:24:10 -05:00 committed by GitHub
parent 0260390a17
commit 41b3911fe1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,10 +55,8 @@ runs:
shell: bash
- id: default
run: |
if [[ -z "${{ steps.branch.outputs.head_ref_branch }}" ]]; then
if [[ "${{ steps.current_branch.outputs.current_branch }}" == "${{ steps.current_branch.outputs.ref_branch }}" ]]; then
echo "::set-output name=is_default::true"
fi
if [[ "${{ steps.current_branch.outputs.current_branch }}" == "${{ steps.branch.outputs.ref_branch }}" ]]; then
echo "::set-output name=is_default::true"
else
echo "::set-output name=is_default::false"
fi