mirror of
https://github.com/eclipse-threadx/threadx.git
synced 2025-11-16 04:24:48 +00:00
Override duplicated github-pages in artifact
This commit is contained in:
9
.github/workflows/regression_template.yml
vendored
9
.github/workflows/regression_template.yml
vendored
@@ -124,15 +124,16 @@ jobs:
|
||||
- name: Prepare GitHub Pages
|
||||
run: >-
|
||||
if [ "${{ inputs.result_affix }}" != "" ]; then
|
||||
mkdir -p ${{ inputs.cmake_path }}/coverage_report/artifact.tar
|
||||
mv ${{ inputs.cmake_path }}/coverage_report/default_build_coverage \
|
||||
${{ inputs.cmake_path }}/coverage_report/${{ inputs.result_affix }}
|
||||
${{ inputs.cmake_path }}/coverage_report/artifact.tar/${{ inputs.result_affix }}
|
||||
fi
|
||||
|
||||
- name: Upload Code Coverage Artifacts
|
||||
uses: actions/upload-artifact@v3.1.3
|
||||
if: ${{ inputs.skip_deploy }}
|
||||
with:
|
||||
name: coverage_report
|
||||
name: github-pages
|
||||
path: ${{ inputs.cmake_path }}/coverage_report
|
||||
retention-days: 1
|
||||
|
||||
@@ -157,13 +158,13 @@ jobs:
|
||||
- uses: actions/download-artifact@v3
|
||||
if: ${{ inputs.skip_test }}
|
||||
with:
|
||||
name: coverage_report
|
||||
name: github-pages
|
||||
|
||||
- name: Upload Code Coverage Pages
|
||||
uses: actions/upload-pages-artifact@v2.0.0
|
||||
if: ${{ inputs.skip_test }}
|
||||
with:
|
||||
path: .
|
||||
path: artifact.tar
|
||||
|
||||
- name: Deploy GitHub Pages site
|
||||
id: deployment
|
||||
|
||||
Reference in New Issue
Block a user