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

#### Type of change

- [x] 🐛 Bugfix

#### Test Plan

- [x] 💚 E2E
This commit is contained in:
Keepers 2023-08-24 18:06:21 -06:00 committed by GitHub
parent 5c50529617
commit c6edb5ff91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ runs:
tee $GITHUB_OUTPUT tee $GITHUB_OUTPUT
- name: Restore ${{ inputs.service }} ${{ inputs.kind }} - name: Restore ${{ inputs.service }} ${{ inputs.kind }}
if: ${{ inputs.restore-args != "" }} if: inputs.restore-args
id: restore id: restore
shell: bash shell: bash
working-directory: src working-directory: src
@ -78,7 +78,7 @@ runs:
cat /tmp/corsologs cat /tmp/corsologs
- name: Check restore ${{ inputs.service }} ${{ inputs.kind }} - name: Check restore ${{ inputs.service }} ${{ inputs.kind }}
if: ${{ inputs.restore-args != "" }} if: inputs.restore-args
shell: bash shell: bash
working-directory: src working-directory: src
env: env:
@ -92,7 +92,7 @@ runs:
./sanity-test ./sanity-test
- name: Export ${{ inputs.service }} ${{ inputs.kind }} - name: Export ${{ inputs.service }} ${{ inputs.kind }}
if: ${{ inputs.with-export == true }} if: inputs.with-export == true
id: export id: export
shell: bash shell: bash
working-directory: src working-directory: src
@ -109,7 +109,7 @@ runs:
cat /tmp/corsologs cat /tmp/corsologs
- name: Check export ${{ inputs.service }} ${{ inputs.kind }} - name: Check export ${{ inputs.service }} ${{ inputs.kind }}
if: ${{ inputs.with-export == true }} if: inputs.with-export == true
shell: bash shell: bash
working-directory: src working-directory: src
env: env:
@ -123,7 +123,7 @@ runs:
./sanity-test ./sanity-test
- name: Export archive ${{ inputs.service }} ${{ inputs.kind }} - name: Export archive ${{ inputs.service }} ${{ inputs.kind }}
if: ${{ inputs.with-export == true }} if: inputs.with-export == true
id: export-archive id: export-archive
shell: bash shell: bash
working-directory: src working-directory: src
@ -143,7 +143,7 @@ runs:
cat /tmp/corsologs cat /tmp/corsologs
- name: Check archive export ${{ inputs.service }} ${{ inputs.kind }} - name: Check archive export ${{ inputs.service }} ${{ inputs.kind }}
if: ${{ inputs.with-export == true }} if: inputs.with-export == true
shell: bash shell: bash
working-directory: src working-directory: src
env: env: