From ffc5b47125a8db657f0f989face2717a3e26b426 Mon Sep 17 00:00:00 2001 From: TiejunZhou <50469179+TiejunMS@users.noreply.github.com> Date: Thu, 23 Nov 2023 09:31:14 +0000 Subject: [PATCH] Test uploading code coverage as artifact --- .github/workflows/regression_template.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/regression_template.yml b/.github/workflows/regression_template.yml index 664c077c..6d0e6d89 100644 --- a/.github/workflows/regression_template.yml +++ b/.github/workflows/regression_template.yml @@ -118,15 +118,21 @@ jobs: ${{ inputs.cmake_path }}/coverage_report/default_build_coverage${{ inputs.deploy_url_affix }} fi - - name: Upload GitHub Pages artifact - uses: actions/upload-pages-artifact@v2.0.0 + # - name: Upload GitHub Pages artifact + # uses: actions/upload-pages-artifact@v2.0.0 + # with: + # path: ${{ inputs.cmake_path }}/coverage_report + # name: coverage_report${{ inputs.deploy_url_affix }} + + - name: Upload Code Coverage + uses: actions/upload-artifact@v3.1.3 with: + name: coverage_report path: ${{ inputs.cmake_path }}/coverage_report - name: coverage_report${{ inputs.deploy_url_affix }} deploy_code_coverage: runs-on: ubuntu-latest - if: github.event_name == 'push' + if: github.event_name == 'push' && false needs: run_tests environment: name: github-pages