From 3ef34bff7c40fff8f46a3f3d1c2403acb49f4353 Mon Sep 17 00:00:00 2001 From: Michael Helmling Date: Sat, 16 Mar 2024 20:07:48 +0100 Subject: [PATCH 1/2] ci: bump artifact versions 3->4 --- .github/workflows/default.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 9010a75..c25cbf9 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -42,7 +42,7 @@ jobs: - name: build binary wheels uses: pypa/cibuildwheel@v2.17.0 - name: upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: bdist path: ./wheelhouse/*.whl @@ -53,7 +53,7 @@ jobs: if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') steps: - name: download source wheel - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: sdist path: wheels From bcbf3f22d46ddfe225b6c6a67f89035e1cc4f0b7 Mon Sep 17 00:00:00 2001 From: Michael Helmling Date: Sat, 16 Mar 2024 20:40:26 +0100 Subject: [PATCH 2/2] fix multiple artifacts with same name --- .github/workflows/default.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index c25cbf9..6e8d4fa 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -44,7 +44,7 @@ jobs: - name: upload wheels uses: actions/upload-artifact@v4 with: - name: bdist + name: bdist-${{ matrix.os }} path: ./wheelhouse/*.whl retention-days: 5 publish: @@ -60,8 +60,9 @@ jobs: - name: download binary wheels uses: actions/download-artifact@v3 with: - name: bdist + pattern: bdist-* path: wheels + merge-multiple: true - name: publish package pypi.org uses: pypa/gh-action-pypi-publish@release/v1 with: