File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -139,15 +139,19 @@ jobs:
139139 sudo mv ${{ inputs.cmake_path }}/coverage_report/${{ inputs.coverage_name }} \
140140 ${{ inputs.cmake_path }}/coverage_report/${{ inputs.result_affix }}
141141 fi
142-
142+
143+ - name : Coverage Report name
144+ id : artifact
145+ run : echo "coverage_report=coverage_report-$(date +%s)" >> $GITHUB_OUTPUT
146+
143147 - name : Upload Code Coverage Artifacts
144- 145- if : (inputs.skip_deploy && !inputs.skip_coverage)
146- with :
147- name : coverage_report
148- path : ${{ inputs.cmake_path }}/coverage_report
149- retention-days : 1
150-
148+ 149+ if : (inputs.skip_deploy && !inputs.skip_coverage)
150+ with :
151+ name : ${{ steps.artifact.outputs. coverage_report }}
152+ path : ${{ inputs.cmake_path }}/coverage_report
153+ retention-days : 1
154+
151155 - name : Upload Code Coverage Pages
152156153157 if : (!inputs.skip_deploy && !inputs.skip_coverage)
You can’t perform that action at this time.
0 commit comments