From 0be54acfff66acb7c1f41993eb90ac618d84b703 Mon Sep 17 00:00:00 2001 From: Dmitry Volodin Date: Wed, 6 Nov 2024 16:35:23 +0100 Subject: [PATCH] upload_artifact@v4 --- .github/workflows/package.yml | 12 ++++++------ tests/test_ci.py | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 7261a06..8b2b622 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -31,7 +31,7 @@ jobs: run: ./tools/build/build-sdist.sh - name: Upload Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: sdist path: dist/*.tar.gz @@ -61,7 +61,7 @@ jobs: ./tools/build/build-many.sh 3.9 3.10 3.11 3.12 3.13 - name: Save Artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheel_manylinux_2_17_${{ matrix.arch }} path: wheelhouse/*.whl @@ -103,7 +103,7 @@ jobs: ./tools/build/build-many.sh 3.9 3.10 3.11 3.12 3.13 - name: Save Artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheel_manylinux_2_24_${{ matrix.arch }} path: wheelhouse/*.whl @@ -149,7 +149,7 @@ jobs: # ./tools/build/build-many.sh 3.9 3.10 # - name: Save Artefacts - # uses: actions/upload-artifact@v3 + # uses: actions/upload-artifact@v4 # with: # name: wheel_musllinux_1_1_${{ matrix.arch }} # path: wheelhouse/*.whl @@ -182,7 +182,7 @@ jobs: # RUST_ARCH=x86_64-apple-darwin # - name: Save Artefacts - # uses: actions/upload-artifact@v3 + # uses: actions/upload-artifact@v4 # with: # name: wheel_${{ matrix.platform }}_${{ matrix.arch }} # path: wheelhouse/*.whl @@ -197,7 +197,7 @@ jobs: # - build-wheel-macos steps: - name: Download Artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: dist/ diff --git a/tests/test_ci.py b/tests/test_ci.py index 2993ab5..5dc759a 100644 --- a/tests/test_ci.py +++ b/tests/test_ci.py @@ -27,6 +27,7 @@ def _get_root() -> str: "actions/cache@v4", "actions/checkout@v4", "actions/setup-python@v5", + "actions/upload-artifact@v4", "pypa/gh-action-pypi-publish@release/v1", ]