From 12fb7baeafdcfbe02f449c96895702ba039f20ee Mon Sep 17 00:00:00 2001 From: Kwankyu Lee Date: Fri, 20 Sep 2024 22:21:23 +0900 Subject: [PATCH] Fix the bug --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 69bb8f6d12f..8f2ef46a778 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -442,8 +442,11 @@ jobs: if: (success() || failure()) && steps.container.outcome == 'success' uses: actions/upload-artifact@v4 with: + # The path .coverage is a directory that contains the combined coverage + # data file .coverage, which is a hidden file because of the leading dot name: coverage-${{ steps.copy-coverage.outputs.tests_id }} path: .coverage + include-hidden-files: true coverage-report: runs-on: ubuntu-latest @@ -530,11 +533,11 @@ jobs: # Combining - name: Download coverage artifacts + if: (success() || failure()) && steps.container.outcome == 'success' uses: actions/download-artifact@v4 with: path: .coverage pattern: coverage-* - if: (success() || failure()) && steps.container.outcome == 'success' - name: Coverage report if: (success() || failure()) && steps.container.outcome == 'success'