diff --git a/.github/workflows/setupOpenLibertyAks.yml b/.github/workflows/setupOpenLibertyAks.yml index 0ead479..059d2d2 100644 --- a/.github/workflows/setupOpenLibertyAks.yml +++ b/.github/workflows/setupOpenLibertyAks.yml @@ -47,7 +47,7 @@ jobs: id: setup-env-variables run: | deleteResource=${{ github.event.inputs.deleteResource }} - if [ ${{ github.event.inputs.deleteResource }} == '' ]; then + if [ -z ${deleteResource} ]; then deleteResource='true' fi echo "deleteResource: ${deleteResource}" @@ -534,4 +534,4 @@ jobs: "@type":"MessageCard", "text":"Workflow failed in cargotracker-liberty-aks repository, please take a look at: https://github.com/${GITHUB_REPOSITORY}/actions/runs/${{ github.run_id }}" } - EOF \ No newline at end of file + EOF