Merge pull request #29 from tj-actions/fix-bug-with-is-default

Fixed bug with is_default
This commit is contained in:
Tonye Jack 2021-04-24 20:51:41 -04:00 committed by GitHub
commit dd9939e996
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ runs:
shell: bash shell: bash
- id: default - id: default
run: | run: |
if [[ "${{ steps.current_branch.outputs.current_branch }}" == "${{ steps.branch.outputs.ref_branch }}" ]]; then if [[ "${{ steps.current_branch.outputs.current_branch }}" == "${{ steps.branch.outputs.ref_branch }}" && ${{ !startsWith(github.ref, 'refs/tags/') }} ]]; then
echo "::set-output name=is_default::true" echo "::set-output name=is_default::true"
else else
echo "::set-output name=is_default::false" echo "::set-output name=is_default::false"