From acea651d262424aa9e36cec81e95b65c59627b03 Mon Sep 17 00:00:00 2001 From: itisallgood <25401000+itisallgood@users.noreply.github.com> Date: Wed, 25 Sep 2024 20:32:28 +0200 Subject: [PATCH] Updated github workflows with new versions of download-artifact and upload-artifact Updated github workflows with new versions of download-artifact and upload-artifact --- .github/workflows/build.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 80be03f83..5867a6da6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -104,7 +104,7 @@ jobs: - name: Install wheel run: python -m pip install "${{ steps.dist.outputs.wheel }}" - name: Upload wheels as artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: python-packages-${{ runner.os }} path: | @@ -117,7 +117,7 @@ jobs: - name: Build docs run: nox -s docs - name: Upload doc builds as artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: doc-builds-${{ runner.os }} path: docs/_build/ @@ -176,7 +176,7 @@ jobs: # `coverage run` cmd adds the working dir to python path, so no need to install pkg here run: pipx run nox -s "tests-${{ matrix.python-version }}(${{ matrix.sphinx-version }})" - name: Upload coverage data - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverage-data-${{ runner.os }}-py${{ matrix.python-version }}-${{ matrix.sphinx-version }} path: .coverage* @@ -187,7 +187,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Download all artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: ci-artifacts - run: mv ci-artifacts/**/.coverage* ./ @@ -198,7 +198,7 @@ jobs: - name: Create coverage report run: pipx run nox -s coverage - name: Upload comprehensive coverage HTML report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverage-report path: htmlcov/ @@ -210,17 +210,17 @@ jobs: needs: [build] steps: - name: Download Linux package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: python-packages-Linux path: dist-Linux - name: Download macOS package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: python-packages-macOS path: dist-macOS - name: Download Windows package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: python-packages-Windows path: dist-Windows @@ -240,7 +240,7 @@ jobs: runs-on: ubuntu-latest needs: [build, test] steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: python-packages-Linux path: dist