This commit is contained in:
Googlefan
2025-02-23 06:22:19 +00:00
parent 97541d6a28
commit 45a221af23

View File

@@ -115,8 +115,10 @@ jobs:
name: Wheel Upload
runs-on: ubuntu-latest
needs: [python-linux, python-windows, python-macos, python-sdist]
env:
GH_TOKEN: ${{ github.token }}
steps:
- run: gh run download ${{github.run_id}} -n wheels-*/*
- run: gh run download ${{ github.run_id }} -n wheels-*/*
- name: release
run: |
gh release create commit-${GITHUB_SHA:0:8} --prerelease wheels-*/*
@@ -127,8 +129,10 @@ jobs:
if: "startsWith(github.ref, 'refs/tags/')"
needs: [python-linux, python-windows, python-macos, python-sdist]
environment: release
env:
GH_TOKEN: ${{ github.token }}
steps:
- run: gh run download ${{github.run_id}} -n wheels-*/*
- run: gh run download ${{ github.run_id }} -n wheels-*/*
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
with: