Skip to content

Commit

Permalink
fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-gorules committed Feb 7, 2025
1 parent 91ca9dd commit 1db6962
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-linux-${{ matrix.target }}
path: dist
path: wheels

windows:
runs-on: windows-latest
Expand All @@ -78,7 +78,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-windows-${{ matrix.target }}
path: dist
path: wheels

macos:
runs-on: macos-latest
Expand All @@ -103,7 +103,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-macos-${{ matrix.target }}
path: dist
path: wheels

sdist:
runs-on: ubuntu-latest
Expand All @@ -115,7 +115,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.13'

- name: Build sdist
uses: PyO3/maturin-action@v1
with:
Expand All @@ -125,7 +125,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-sdist
path: dist
path: wheels

release:
name: Release
Expand All @@ -137,7 +137,8 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: wheels
path: wheels

- name: Publish to PyPI
if: "startsWith(github.event.head_commit.message, 'chore(release): publish python')"
uses: PyO3/maturin-action@v1
Expand Down

0 comments on commit 1db6962

Please sign in to comment.