Skip to content

Commit

Permalink
ci: sophus_pyo3 wheels fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
strasdat committed Mar 24, 2024
1 parent f573c01 commit d5eeacb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/py_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-linux-${{ matrix.target }}
path: dist
path: crates/sophus_pyo3/dist

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

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

sdist:
runs-on: ubuntu-latest
Expand All @@ -104,19 +104,19 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-sdist
path: dist
path: crates/sophus_pyo3/dist

release:
name: Release
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
needs: [linux, windows, macos, sdist]
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
with:
command: upload
args: --non-interactive --skip-existing wheels-*/*

0 comments on commit d5eeacb

Please sign in to comment.