Skip to content

Commit

Permalink
build doc
Browse files Browse the repository at this point in the history
Signed-off-by: NKcqx <892670992@qq.com>
  • Loading branch information
NKcqx committed Jan 16, 2025
1 parent 12551a8 commit 93fb4d9
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/pypi-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,43 +47,3 @@ jobs:
path: |
./python/dist/*.whl
./doc/_build/html
upload_pypi:
needs: [build_wheels]
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write
# if: github.event_name == 'release' && github.event.action == 'published'
# # or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this)
# # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/download-artifact@v4
with:
# unpacks all CIBW artifacts into dist/
pattern: cibw-*
path: python/dist
merge-multiple: true

- uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: python/dist

upload_test_pypi:
needs: [build_wheels]
runs-on: ubuntu-latest
environment: testpypi-publish
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
# unpacks all CIBW artifacts into dist/
pattern: cibw-*
path: python/dist
merge-multiple: true

- uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: python/dist
repository-url: https://test.pypi.org/legacy/

0 comments on commit 93fb4d9

Please sign in to comment.