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}