From 624fca93c09b153065af1fed5a0fe58a6d740d0c Mon Sep 17 00:00:00 2001 From: Sveinung Rundhovde Date: Tue, 10 Sep 2024 12:27:18 +0200 Subject: [PATCH] Migrate to v4 for upload/dowlnoad artifact --- .github/workflows/wheels.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheels.yaml b/.github/workflows/wheels.yaml index 514568c6..9bacb9d2 100644 --- a/.github/workflows/wheels.yaml +++ b/.github/workflows/wheels.yaml @@ -51,8 +51,9 @@ jobs: run: | python -m cibuildwheel --output-dir wheelhouse python/ - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: + name: wheel-${{ matrix.os }}-${{ matrix.arch }} path: ./wheelhouse/*.whl publish: @@ -63,7 +64,11 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 + with: + pattern: wheel-* + merge-multiple: true + path: ./wheelhouse/ - name: Publish wheels to PyPI