From 63b0eeea279f9a391ed548842e920a693719a5e3 Mon Sep 17 00:00:00 2001 From: sasaplus1 Date: Sat, 23 Mar 2024 21:34:03 +0900 Subject: [PATCH] improve --- .github/workflows/boolean.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/boolean.yml b/.github/workflows/boolean.yml index 9cabdc3..cc28e10 100644 --- a/.github/workflows/boolean.yml +++ b/.github/workflows/boolean.yml @@ -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" @@ -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"