From c6edb5ff91435cc3fda663af6d9d8b483801d6af Mon Sep 17 00:00:00 2001 From: Keepers Date: Thu, 24 Aug 2023 18:06:21 -0600 Subject: [PATCH] check for zero len string with 0 (#4106) according to https://docs.github.com/en/actions/learn-github-actions/expressions --- #### Does this PR need a docs update or release note? - [x] :no_entry: No #### Type of change - [x] :bug: Bugfix #### Test Plan - [x] :green_heart: E2E --- .github/actions/backup-restore-test/action.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/actions/backup-restore-test/action.yml b/.github/actions/backup-restore-test/action.yml index fe9119392..299243e6a 100644 --- a/.github/actions/backup-restore-test/action.yml +++ b/.github/actions/backup-restore-test/action.yml @@ -56,7 +56,7 @@ runs: tee $GITHUB_OUTPUT - name: Restore ${{ inputs.service }} ${{ inputs.kind }} - if: ${{ inputs.restore-args != "" }} + if: inputs.restore-args id: restore shell: bash working-directory: src @@ -78,7 +78,7 @@ runs: cat /tmp/corsologs - name: Check restore ${{ inputs.service }} ${{ inputs.kind }} - if: ${{ inputs.restore-args != "" }} + if: inputs.restore-args shell: bash working-directory: src env: @@ -92,7 +92,7 @@ runs: ./sanity-test - name: Export ${{ inputs.service }} ${{ inputs.kind }} - if: ${{ inputs.with-export == true }} + if: inputs.with-export == true id: export shell: bash working-directory: src @@ -109,7 +109,7 @@ runs: cat /tmp/corsologs - name: Check export ${{ inputs.service }} ${{ inputs.kind }} - if: ${{ inputs.with-export == true }} + if: inputs.with-export == true shell: bash working-directory: src env: @@ -123,7 +123,7 @@ runs: ./sanity-test - name: Export archive ${{ inputs.service }} ${{ inputs.kind }} - if: ${{ inputs.with-export == true }} + if: inputs.with-export == true id: export-archive shell: bash working-directory: src @@ -143,7 +143,7 @@ runs: cat /tmp/corsologs - name: Check archive export ${{ inputs.service }} ${{ inputs.kind }} - if: ${{ inputs.with-export == true }} + if: inputs.with-export == true shell: bash working-directory: src env: