Skip to content

Commit 12fb7ba

Browse files
committed
Fix the bug
1 parent a880b3f commit 12fb7ba

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,8 +442,11 @@ jobs:
442442
if: (success() || failure()) && steps.container.outcome == 'success'
443443
uses: actions/upload-artifact@v4
444444
with:
445+
# The path .coverage is a directory that contains the combined coverage
446+
# data file .coverage, which is a hidden file because of the leading dot
445447
name: coverage-${{ steps.copy-coverage.outputs.tests_id }}
446448
path: .coverage
449+
include-hidden-files: true
447450

448451
coverage-report:
449452
runs-on: ubuntu-latest
@@ -530,11 +533,11 @@ jobs:
530533
# Combining
531534

532535
- name: Download coverage artifacts
536+
if: (success() || failure()) && steps.container.outcome == 'success'
533537
uses: actions/download-artifact@v4
534538
with:
535539
path: .coverage
536540
pattern: coverage-*
537-
if: (success() || failure()) && steps.container.outcome == 'success'
538541

539542
- name: Coverage report
540543
if: (success() || failure()) && steps.container.outcome == 'success'

0 commit comments

Comments
 (0)