Fix export sanity tests (#4730)

The export sanity tests were not running because the if condition was not being evaluated correctly.


**Export sanity tests are currently broken. We never detected it as we were never running it.**

<!-- PR description-->

---

#### Does this PR need a docs update or release note?

- [ ]  Yes, it's included
- [ ] 🕐 Yes, but in a later PR
- [ ]  No

#### Type of change

<!--- Please check the type of change your PR introduces: --->
- [ ] 🌻 Feature
- [ ] 🐛 Bugfix
- [ ] 🗺️ Documentation
- [ ] 🤖 Supportability/Tests
- [ ] 💻 CI/Deployment
- [ ] 🧹 Tech Debt/Cleanup

#### Issue(s)

<!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. -->
* #<issue>

#### Test Plan

<!-- How will this be tested prior to merging.-->
- [ ] 💪 Manual
- [ ]  Unit test
- [ ] 💚 E2E
This commit is contained in:
Abin Simon 2023-11-29 12:56:52 +05:30 committed by GitHub
parent e6477a67a8
commit 1ae9c05651
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,7 @@ runs:
./sanity-test restore ${{ inputs.service }}
- name: Export ${{ inputs.service }} ${{ inputs.kind }}
if: inputs.with-export == true
if: ${{ inputs.with-export == 'true' }}
id: export
shell: bash
working-directory: src
@ -119,7 +119,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:
@ -134,7 +134,7 @@ runs:
./sanity-test export ${{ inputs.service }}
- 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
@ -157,7 +157,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: