From 62e372da173ca8bdf8f658f8109c0e51ce86d820 Mon Sep 17 00:00:00 2001 From: cmo Date: Fri, 18 Oct 2024 11:26:29 +0100 Subject: [PATCH] Upload gha artifact steps to use v4 --- .github/workflows/build.yml | 4 ++-- .github/workflows/build_deploy.yml | 6 +++--- .github/workflows/build_docs.yml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c180bde..8aadcd4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: - run: python -m pip install pep517 - run: python -m pep517.build --source . - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: path: dist/*.tar.gz @@ -46,6 +46,6 @@ jobs: CIBW_BUILD_VERBOSITY: 1 CIBW_ARCHS_MACOS: x86_64 universal2 - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: path: wheelhouse/*.whl diff --git a/.github/workflows/build_deploy.yml b/.github/workflows/build_deploy.yml index 771561b..cd651a2 100644 --- a/.github/workflows/build_deploy.yml +++ b/.github/workflows/build_deploy.yml @@ -20,7 +20,7 @@ jobs: - run: python -m pip install pep517 - run: python -m pep517.build --source . - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: path: dist/*.tar.gz @@ -49,7 +49,7 @@ jobs: CIBW_BUILD_VERBOSITY: 1 CIBW_ARCHS_MACOS: x86_64 universal2 - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: path: wheelhouse/*.whl @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: artifact path: dist diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index e4fa270..0f39db5 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -32,7 +32,7 @@ jobs: - name: Pack docs run: tar -cvf docs.tar docs/_build/html - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: docs path: docs.tar @@ -46,7 +46,7 @@ jobs: with: ref: gh-pages - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: docs path: NewDocs