Skip to content

Commit

Permalink
chore(build): updated pypi release
Browse files Browse the repository at this point in the history
  • Loading branch information
cofin committed Dec 15, 2024
1 parent 95e43a1 commit efbb406
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ jobs:
upload_pypi:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
permissions:
id-token: write
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v4
Expand All @@ -144,7 +146,5 @@ jobs:
path: dist
pattern: artifact-*

- uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit efbb406

Please sign in to comment.