mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-12-27 14:27:59 +08:00
Merge pull request #29 from tj-actions/fix-bug-with-is-default
Fixed bug with is_default
This commit is contained in:
commit
dd9939e996
@ -52,7 +52,7 @@ runs:
|
||||
shell: bash
|
||||
- id: default
|
||||
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"
|
||||
else
|
||||
echo "::set-output name=is_default::false"
|
||||
|
Loading…
x
Reference in New Issue
Block a user