From bfac003617d212d7397933feec6fc7650d5bb000 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sun, 23 Jun 2024 20:16:02 -0700 Subject: [PATCH] .github/workflows/cibuildwheel.yml: Upgrade actions/upload-artifact, download-artifact --- .github/workflows/cibuildwheel.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index 27cb4f92..7f1877ed 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -36,8 +36,9 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@v2.17.0 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: + name: cibuildwheel-${{ matrix.os }}-${{ matrix.arch }} path: ./wheelhouse/*.whl build_sdist: @@ -49,8 +50,9 @@ jobs: - name: Build sdist run: pipx run build --sdist - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: + name: cibuildwheel-sdist path: dist/*.tar.gz upload_pypi: @@ -61,10 +63,11 @@ jobs: # alternatively, to publish when a GitHub Release is created, use the following rule: if: github.event_name == 'release' && github.event.action == 'published' steps: - - uses: actions/download-artifact@v2.1.1 + - uses: actions/download-artifact@v4 with: - name: artifact + pattern: "cibuildwheel-*" path: dist + merge-multiple: true - uses: pypa/gh-action-pypi-publish@v1.8.5 with: