Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RupertBarrow authored Mar 29, 2023
1 parent f2287ed commit 73facbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ runs:
cci flow run ${{ inputs.flow-name }} --org ${{ inputs.org-name }} ${{ inputs.flow-task-options }} 2>/tmp/err.log
# see https://tfrommen.de/things-i-learned-while-replacing-a-github-app-with-github-actions-workflows/
status=$?
if [ ! ("$status" = "0") ]; then
if [ "$status" != "0" ]; then
cat /tmp/err.log
echo "error-message=$(cat /tmp/err.log)" >> $GITHUB_OUTPUT
exit $status
fi
Expand Down

0 comments on commit 73facbb

Please sign in to comment.