Merge pull request #896 from epage/maturin

chore(ci): Update for artifact handling
This commit is contained in:
Ed Page 2024-01-02 15:48:28 -06:00 committed by GitHub
commit 7c065b5986
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ jobs:
- name: Upload wheels - name: Upload wheels
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: wheels name: wheels-linux-${{ matrix.target }}
path: dist path: dist
musllinux: musllinux:
@ -61,7 +61,7 @@ jobs:
- name: Upload wheels - name: Upload wheels
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: wheels name: wheels-musllinux-${{ matrix.target }}
path: dist path: dist
windows: windows:
@ -84,7 +84,7 @@ jobs:
- name: Upload wheels - name: Upload wheels
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: wheels name: wheels-windows-${{ matrix.target }}
path: dist path: dist
macos: macos:
@ -107,7 +107,7 @@ jobs:
- name: Upload wheels - name: Upload wheels
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: wheels name: wheels-macos-${{ matrix.target }}
path: dist path: dist
sdist: sdist:
@ -122,7 +122,7 @@ jobs:
- name: Upload sdist - name: Upload sdist
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: wheels name: wheels-sdist
path: dist path: dist
release: release:
@ -133,7 +133,7 @@ jobs:
steps: steps:
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@v4
with: with:
name: wheels merge-multiple: true
- name: Publish to PyPI - name: Publish to PyPI
uses: PyO3/maturin-action@v1 uses: PyO3/maturin-action@v1
env: env: