From ea1e8c4b216d4b1e21b02bafe75ee1713ad21079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= Date: Fri, 7 Jun 2024 20:56:49 +0200 Subject: [PATCH] CI Update upload-artifact and download-artifact to v4 (#29211) --- .github/workflows/lint.yml | 4 ++-- .github/workflows/wheels.yml | 10 +++++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fdc993c1b3fdd..7c70b0d1a4dc2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -52,7 +52,7 @@ jobs: - name: Upload Artifact if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: lint-log path: | @@ -84,7 +84,7 @@ jobs: - name: Download artifact id: download-artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: lint-log diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 8bd7ffc17beca..c67cc80aab068 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -175,8 +175,9 @@ jobs: run: bash build_tools/wheels/build_wheels.sh - name: Store artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: + name: cibw-wheels-cp${{ matrix.python }}-${{ matrix.platform_id }} path: wheelhouse/*.whl update-tracker: @@ -215,8 +216,9 @@ jobs: SKLEARN_SKIP_NETWORK_TESTS: 1 - name: Store artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: + name: cibw-sdist path: dist/*.tar.gz # Upload the wheels and the source distribution @@ -233,9 +235,11 @@ jobs: uses: actions/checkout@v3 - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: + pattern: cibw-* path: dist + merge-multiple: true - name: Setup Python uses: actions/setup-python@v5