Skip to content

Commit 1e109f0

Browse files
authored
Merge pull request #456 from eclipse-threadx/ci-fixes-2
Added condition to "Coverage Report Name". Corrected formatting.
2 parents 48c173c + 8e808e7 commit 1e109f0

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/regression_template.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,14 @@ jobs:
141141
fi
142142
143143
- name: Coverage Report name
144-
id: artifact
145-
run: echo "coverage_report=coverage_report-$(date +%s)" >> $GITHUB_OUTPUT
144+
id: artifact
145+
if: (!inputs.skip_coverage)
146+
run: echo "coverage_report=coverage_report-$(date +%s)" >> $GITHUB_OUTPUT
146147

147148
- name: Upload Code Coverage Artifacts
148-
uses: actions/[email protected]
149-
if: (inputs.skip_deploy && !inputs.skip_coverage)
150-
with:
149+
uses: actions/[email protected]
150+
if: (inputs.skip_deploy && !inputs.skip_coverage)
151+
with:
151152
name: ${{ steps.artifact.outputs.coverage_report }}
152153
path: ${{ inputs.cmake_path }}/coverage_report
153154
retention-days: 1

0 commit comments

Comments
 (0)