From b0570e8235312506f52c902997ba56079c6f5d6c Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Fri, 20 Sep 2024 18:59:15 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20Move=20the=20success=20fallback?= =?UTF-8?q?=20inside=20subshell?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 52a0354..c4c7b3c 100644 --- a/action.yml +++ b/action.yml @@ -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 }} @@ -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 }}