fix: try fix empty outputs
[skip ci]
This commit is contained in:
parent
e8165da58f
commit
77c84eb960
1 changed files with 6 additions and 10 deletions
16
.github/actions/clean_up/action.yaml
vendored
16
.github/actions/clean_up/action.yaml
vendored
|
|
@ -217,15 +217,11 @@ runs:
|
|||
if: always()
|
||||
id: status
|
||||
run: |
|
||||
if [[ ${{ inputs.list_only }} ]]; then
|
||||
echo "status=SUCCESS" >> $GITHUB_OUTPUT
|
||||
else
|
||||
if [[ "${{ steps.del_pg.outputs.status }}" == "FAILURE" ]]; then
|
||||
echo "status=FAILURE" >> $GITHUB_OUTPUT
|
||||
elif [[ "${{ steps.del_sql.outputs.status }}" == "FAILURE" ]]; then
|
||||
echo "status=FAILURE" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "status=SUCCESS" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
status="SUCCESS"
|
||||
if [[ "${{ steps.del_pg.outputs.status }}" == "FAILURE" ]]; then
|
||||
status=FAILURE"
|
||||
elif [[ "${{ steps.del_sql.outputs.status }}" == "FAILURE" ]]; then
|
||||
status=FAILURE"
|
||||
fi
|
||||
echo "status=$status" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue