From 224746cbdca00076f521d6fa2af6df443ca262b5 Mon Sep 17 00:00:00 2001 From: Michael van Tellingen Date: Sun, 13 Oct 2024 09:28:09 +0200 Subject: [PATCH] fix handling coverage artifacts with latest action --- .github/workflows/python-test.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 58c7f831..37ca809c 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -70,10 +70,12 @@ jobs: - name: Prepare artifacts run: mkdir .coverage-data && mv .coverage.* .coverage-data/ - - uses: actions/upload-artifact@master + - uses: actions/upload-artifact@v4 with: - name: coverage-data - path: .coverage-data/ + name: coverage-data-${{ matrix.platform }}-${{ matrix.python-version }} + path: .coverage-data/.coverage.* + include-hidden-files: true + retention-days: 1 coverage: runs-on: ubuntu-latest @@ -81,9 +83,10 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/download-artifact@master + - uses: actions/download-artifact@v4 with: - name: coverage-data + pattern: coverage-data-* + merge-multiple: true path: . - name: Set up Python 3.12