From cd6b2d4d92a8ef433c2104dc1b1e092b2d64a8e2 Mon Sep 17 00:00:00 2001 From: Jon Ryser <241263+jonryser@users.noreply.github.com> Date: Fri, 1 Nov 2024 08:25:59 -0700 Subject: [PATCH] Fixed coverage branch name --- .github/actions/lint-test-yarn/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/lint-test-yarn/action.yml b/.github/actions/lint-test-yarn/action.yml index 995704b..77d447f 100644 --- a/.github/actions/lint-test-yarn/action.yml +++ b/.github/actions/lint-test-yarn/action.yml @@ -108,7 +108,7 @@ runs: - name: Get the coverage file. if: inputs.should-run-tests == 'yes' && inputs.upload-coverage == 'yes' run: | - coverage_branch=${${{ steps.branch.outputs.branch }}//+([\"\:<>|\*\?\\\/])/-} + coverage_branch=${${{ steps.branch.outputs.branch }}//[\":<>|*?\\\/]/-} coverage_dir=coverage-${coverage_branch} mkdir -p ${coverage_dir} && sudo cp -r coverage ${coverage_dir}