Skip to content

Commit

Permalink
The variable deleteResource is not set correctly for scheduled work…
Browse files Browse the repository at this point in the history
…flow (#6)

* Update setupOpenLibertyAks.yml

* Update setupOpenLibertyAks.yml
galiacheng authored Mar 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 6b3268e commit cc8b550
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/setupOpenLibertyAks.yml
Original file line number Diff line number Diff line change
@@ -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
EOF

0 comments on commit cc8b550

Please sign in to comment.