From 25bb1ab8dcb3ad4df748d0791891af17d9824c58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Hatcher?= Date: Fri, 28 Feb 2025 12:59:06 +0100 Subject: [PATCH] FIX: Fix CI script to deal with conflicting names --- .github/workflows/pypi.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 7554bf3..c983c87 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -34,7 +34,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-${{ runner.os }}-${{ matrix.target }} path: bindings/python/dist windows: @@ -58,7 +58,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-${{ runner.os }}-${{ matrix.target }} path: bindings/python/dist macos: @@ -81,7 +81,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-${{ runner.os }}-${{ matrix.target }} path: bindings/python/dist sdist: @@ -97,7 +97,7 @@ jobs: - name: Upload sdist uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-${{ runner.os }}-sdist path: bindings/python/dist publish-to-test-pypi: @@ -107,9 +107,8 @@ jobs: runs-on: ubuntu-latest needs: [linux, windows, macos, sdist] steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: wheels path: bindings/python/ - name: Publish distribution 📦 to Test PyPI uses: PyO3/maturin-action@v1 @@ -128,9 +127,8 @@ jobs: runs-on: ubuntu-latest needs: [linux, windows, macos, sdist] steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: wheels path: bindings/python/ - name: Publish distribution 📦 to PyPI uses: PyO3/maturin-action@v1