Skip to content

Commit

Permalink
FIX: Fix CI script to deal with conflicting names
Browse files Browse the repository at this point in the history
  • Loading branch information
nhatcher committed Feb 28, 2025
1 parent 5c13f24 commit 25bb1ab
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 25bb1ab

Please sign in to comment.