mirror of
https://github.com/eclipse-threadx/threadx.git
synced 2025-11-16 12:34:48 +00:00
Test using unified upload pages
This commit is contained in:
20
.github/workflows/regression_template.yml
vendored
20
.github/workflows/regression_template.yml
vendored
@@ -128,18 +128,10 @@ jobs:
|
||||
${{ inputs.cmake_path }}/coverage_report/${{ inputs.result_affix }}
|
||||
fi
|
||||
|
||||
- name: Upload Code Coverage Artifacts
|
||||
uses: actions/upload-artifact@v3.1.3
|
||||
if: ${{ inputs.skip_deploy }}
|
||||
with:
|
||||
name: github-pages
|
||||
path: ${{ inputs.cmake_path }}/coverage_report
|
||||
|
||||
- name: Upload Code Coverage Pages
|
||||
uses: actions/upload-pages-artifact@v2.0.0
|
||||
if: ${{ !inputs.skip_deploy }}
|
||||
with:
|
||||
path: ${{ inputs.cmake_path }}/coverage_report/default_build_coverage
|
||||
path: ${{ inputs.cmake_path }}/coverage_report/
|
||||
|
||||
deploy_code_coverage:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -153,16 +145,6 @@ jobs:
|
||||
id-token: write
|
||||
|
||||
steps:
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: github-pages
|
||||
|
||||
- name: Upload Code Coverage Pages
|
||||
uses: actions/upload-pages-artifact@v2.0.0
|
||||
if: inputs.skip_test
|
||||
with:
|
||||
path: .
|
||||
|
||||
- name: Deploy GitHub Pages site
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v1.2.9
|
||||
|
||||
Reference in New Issue
Block a user