Skip to content

Commit 63c2daf

Browse files
committed
CCM-10981: don't upload if there are no files to upload
1 parent 0f0dd0b commit 63c2daf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/stage-2-test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,14 @@ jobs:
116116
name: unit-tests-${{ steps.names.outputs.safe }}
117117
path: "${{ matrix.workspace }}/.reports/unit"
118118
include-hidden-files: true
119+
if-no-files-found: ignore
119120
if: always()
120121
- name: "Save the result of code coverage"
121122
uses: actions/upload-artifact@v4
122123
with:
123124
name: code-coverage-${{ steps.names.outputs.safe }}
124125
path: "${{ matrix.workspace }}/.reports/unit/coverage/lcov.info"
126+
if-no-files-found: ignore
125127
if: always()
126128

127129
test-lint:

0 commit comments

Comments
 (0)