Skip to content

Commit 39a7cfc

Browse files
committed
fix(ci): replace pypi-publish action with twine (no Trusted Publishing logic)
1 parent 8bea8dc commit 39a7cfc

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@ jobs:
3030
run: python -m build
3131

3232
- name: Publish to PyPI
33-
uses: pypa/gh-action-pypi-publish@v1.8.14
34-
with:
35-
password: ${{ secrets.PYPI_API_TOKEN }}
36-
skip-existing: true
33+
env:
34+
TWINE_USERNAME: __token__
35+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
36+
run: |
37+
pip install twine
38+
twine upload --skip-existing dist/*
3739
3840
- name: Create GitHub Release
3941
env:

0 commit comments

Comments
 (0)