Skip to content

Commit

Permalink
if var expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
emalzer committed May 22, 2023
1 parent 72b1f5e commit 10e7a60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,13 @@ jobs:
# check status for success
status=$(cat response.json | jq -c '.status')
if [[ "$status" == 'success' ]] ; then
if [[ "$status" == "success" ]] ; then
break
fi
sleep 60
done
jq . response.json
jq -c '.status'
echo "json=$(cat response.json)" >> $GITHUB_OUTPUT
echo "status=$(cat response.json | jq -c '.status')" >> $GITHUB_OUTPUT

0 comments on commit 10e7a60

Please sign in to comment.