Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,22 @@ jobs:
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl

publish_wheels:
name: Publish wheels to PyPi
if: startsWith(github.ref, 'refs/tags')
needs: [build_wheels]
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
pattern: "cibw-wheels-*"
path: dist/
- name: Move wheels to dist folder
run: >
mv dist/**/*.whl dist/;
rm -r dist/cibw-wheels-*
- name: Publish packages to Pypi
uses: pypa/gh-action-pypi-publish@release/v1