Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
sasaplus1 committed Mar 23, 2024
1 parent e5ee75a commit 63b0eee
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/boolean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
- if: ${{ true }}
run: echo "true"
- if: ${{ 1 }}
run: echo "true"
run: echo "1"
- if: ${{ format('some string') }}
run: echo "true"
run: echo "'some string'"
# false
- id: false1
run: echo "value=false" >> "$GITHUB_OUTPUT"
Expand All @@ -59,12 +59,12 @@ jobs:
- if: ${{ false }}
run: echo "false"
- if: ${{ 0 }}
run: echo "false"
run: echo "0"
- if: ${{ -0 }}
run: echo "false"
run: echo "-0"
- if: ${{ '' }}
run: echo "false"
run: echo "''"
- if: ${{ format('""') }}
run: echo "false"
run: echo '""'
- if: ${{ null }}
run: echo "false"
run: echo "null"

0 comments on commit 63b0eee

Please sign in to comment.