mirror of
https://github.com/eclipse-threadx/threadx.git
synced 2025-11-16 12:34: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
|
- name: Prepare GitHub Pages
|
||||||
run: >-
|
run: >-
|
||||||
if [ "${{ inputs.result_affix }}" != "" ]; then
|
if [ "${{ inputs.result_affix }}" != "" ]; then
|
||||||
|
mkdir -p ${{ inputs.cmake_path }}/coverage_report/artifact.tar
|
||||||
mv ${{ inputs.cmake_path }}/coverage_report/default_build_coverage \
|
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
|
fi
|
||||||
|
|
||||||
- name: Upload Code Coverage Artifacts
|
- name: Upload Code Coverage Artifacts
|
||||||
uses: actions/upload-artifact@v3.1.3
|
uses: actions/upload-artifact@v3.1.3
|
||||||
if: ${{ inputs.skip_deploy }}
|
if: ${{ inputs.skip_deploy }}
|
||||||
with:
|
with:
|
||||||
name: coverage_report
|
name: github-pages
|
||||||
path: ${{ inputs.cmake_path }}/coverage_report
|
path: ${{ inputs.cmake_path }}/coverage_report
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
@@ -157,13 +158,13 @@ jobs:
|
|||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
if: ${{ inputs.skip_test }}
|
if: ${{ inputs.skip_test }}
|
||||||
with:
|
with:
|
||||||
name: coverage_report
|
name: github-pages
|
||||||
|
|
||||||
- name: Upload Code Coverage Pages
|
- name: Upload Code Coverage Pages
|
||||||
uses: actions/upload-pages-artifact@v2.0.0
|
uses: actions/upload-pages-artifact@v2.0.0
|
||||||
if: ${{ inputs.skip_test }}
|
if: ${{ inputs.skip_test }}
|
||||||
with:
|
with:
|
||||||
path: .
|
path: artifact.tar
|
||||||
|
|
||||||
- name: Deploy GitHub Pages site
|
- name: Deploy GitHub Pages site
|
||||||
id: deployment
|
id: deployment
|
||||||
|
|||||||
Reference in New Issue
Block a user