From e4527d8cdd2fb5ff7ca5f9a09c9132fd6025fb66 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Wed, 17 Jan 2024 13:02:02 +0100 Subject: [PATCH] Escape special characters in branch name --- .github/workflows/build-check-install.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-check-install.yaml b/.github/workflows/build-check-install.yaml index 803bc35e..f451a8a4 100644 --- a/.github/workflows/build-check-install.yaml +++ b/.github/workflows/build-check-install.yaml @@ -604,7 +604,7 @@ jobs: - name: Run XML comparison 🔍 if: steps.check-junit-xml.outputs.files_exists == 'true' && env.junit_xml_comparison == 'true' run: | - cp ${{ env.junit_xml_storage }}/data/${{ env.diff_storage_branch }}/junit-result.xml new.xml + cp '${{ env.junit_xml_storage }}/data/${{ env.diff_storage_branch }}/junit-result.xml' new.xml if [ ! -f ${{ env.junit_xml_storage }}/data/${{ env.junit_xml_diff_branch }}/junit-result.xml ]; then # If XML for the branch against which we're comparing doesn't exist, we're skipping the comparison. echo "JUnit report for branch \`${{ env.junit_xml_diff_branch }}\` " \