mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 13:43:50 +08:00
fix: bug with is_default boolean output
This commit is contained in:
parent
b2143532a7
commit
4cea672423
@ -73,7 +73,7 @@ runs:
|
||||
- id: default
|
||||
run: |
|
||||
if [[ "${{ github.ref }}" != "refs/tags/"* ]]; then
|
||||
if [[ "${{ steps.current_branch.outputs.current_branch }}" == "${{ steps.branch.outputs.ref_branch }}" ]]; then
|
||||
if [[ "${{ steps.current_branch.outputs.current_branch }}" == "${{ github.event.repository.default_branch }}" ]]; then
|
||||
echo "::set-output name=is_default::true"
|
||||
echo "::set-output name=default_branch::${{ github.event.repository.default_branch }}"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user