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