From 1d75853762248d24799d976383888c3db17ab6fb Mon Sep 17 00:00:00 2001 From: Rust Saiargaliev Date: Wed, 17 Apr 2024 21:25:54 +0200 Subject: [PATCH] Bump GitHub Actions artifacts to v4 (#470) --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1da2f703..e68aba4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,10 +79,11 @@ jobs: run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .) - name: Upload coverage data - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: coverage-data + name: coverage-data-${{ matrix.python-version }} path: '.coverage.*' + if-no-files-found: ignore coverage: name: Coverage @@ -99,9 +100,10 @@ jobs: run: python -m pip install --upgrade coverage[toml] - name: Download data - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: coverage-data + pattern: coverage-data-* + merge-multiple: true - name: Combine coverage and fail if it's <95% run: | @@ -111,7 +113,7 @@ jobs: - name: Upload HTML report if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: html-report path: htmlcov