Skip to content

Commit

Permalink
🚑 Move the success fallback inside subshell
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Sep 20, 2024
1 parent 3f01c0e commit b0570e8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -649,11 +649,10 @@ runs:
find '${{
steps.collection-metadata.outputs.checkout-path
}}/tests/output/junit/' -name '*.xml' -type f -print0
|| :
| tr '\0' ','
| sed 's#,$##'
) | tee -a "${GITHUB_OUTPUT}"
;
exit 0
shell: bash
working-directory: ${{ steps.collection-metadata.outputs.checkout-path }}

Expand Down Expand Up @@ -690,11 +689,10 @@ runs:
}}/tests/output/reports/' -name 'coverage=${{
inputs.testing-type
}}.xml' -type f -print0
|| :
| tr '\0' ','
| sed 's#,$##'
) | tee -a "${GITHUB_OUTPUT}"
;
exit 0
shell: bash
working-directory: ${{ steps.collection-metadata.outputs.checkout-path }}

Expand Down

0 comments on commit b0570e8

Please sign in to comment.