Merge pull request #73 from immutable-actions/ddivad195/fix-lint

fix lint
This commit is contained in:
David Daly
2024-01-31 10:30:47 +00:00
committed by GitHub
+3 -3
View File
@@ -36,9 +36,9 @@ jobs:
| jq '.workflow_runs[] | select(.name=="Publish Actions Package" and (.display_title | contains("${{ github.sha }}"))) | .status, .conclusion')
# split the RESULT into an array
RESULT=($RESULT)
STATUS=$(echo ${RESULT[0]} | sed -e 's/^"//' -e 's/"$//')
CONCLUSION=$(echo ${RESULT[1]} | sed -e 's/^"//' -e 's/"$//')
mapfile -t RESULT <<< "$RESULT"
STATUS=$(echo "${RESULT[0]}" | sed -e 's/^"//' -e 's/"$//')
CONCLUSION=$(echo "${RESULT[1]}" | sed -e 's/^"//' -e 's/"$//')
if [ -z "$STATUS" ]; then
echo "No workflow found yet"
else