mirror of
https://github.com/gorules/zen.git
synced 2026-10-04 08:02:28 +00:00
fix: python pipeline (#310)
This commit is contained in:
@@ -52,7 +52,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheels-linux-${{ matrix.target }}
|
||||
path: wheels
|
||||
path: dist
|
||||
|
||||
windows:
|
||||
runs-on: windows-latest
|
||||
@@ -78,7 +78,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheels-windows-${{ matrix.target }}
|
||||
path: wheels
|
||||
path: dist
|
||||
|
||||
macos:
|
||||
runs-on: macos-latest
|
||||
@@ -103,7 +103,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheels-macos-${{ matrix.target }}
|
||||
path: wheels
|
||||
path: dist
|
||||
|
||||
sdist:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -125,7 +125,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheels-sdist
|
||||
path: wheels
|
||||
path: dist
|
||||
|
||||
release:
|
||||
name: Release
|
||||
@@ -137,8 +137,8 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: wheels
|
||||
|
||||
pattern: wheels-*
|
||||
|
||||
- name: Publish to PyPI
|
||||
if: "startsWith(github.event.head_commit.message, 'chore(release): publish python')"
|
||||
uses: PyO3/maturin-action@v1
|
||||
|
||||
Reference in New Issue
Block a user