diff --git a/.github/workflows/regression_template.yml b/.github/workflows/regression_template.yml index 687e51bd..0dce5820 100644 --- a/.github/workflows/regression_template.yml +++ b/.github/workflows/regression_template.yml @@ -97,6 +97,7 @@ jobs: run: | echo "## Coverage Report ${{ inputs.result_affix }}" >> $GITHUB_STEP_SUMMARY cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY + if [ "${{ inputs.result_affix }}" != "" ]; then cp code-coverage-results.md code-coverage-results${{ inputs.result_affix }}.md; fi - name: Create CheckRun for Code Coverage if: (github.event_name == 'push') || (github.event.pull_request.head.repo.full_name == github.repository) @@ -113,7 +114,7 @@ jobs: if: (github.event_name == 'push') || (github.event.pull_request.head.repo.full_name == github.repository) uses: marocchino/sticky-pull-request-comment@v2 with: - path: code-coverage-results.md + path: code-coverage-results${{ inputs.result_affix }}.md deploy_code_coverage: runs-on: ubuntu-latest