Skip to content

Commit e9db5ca

Browse files
committed
fix: use twine directly instead of pypa action
1 parent 06be003 commit e9db5ca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
twine check dist/*
3434
3535
- name: Publish to PyPI
36-
uses: pypa/gh-action-pypi-publish@release/v1
37-
with:
38-
password: ${{ secrets.PYPI_API_TOKEN }}
39-
skip-existing: true
40-
attestations: false
36+
env:
37+
TWINE_USERNAME: __token__
38+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
39+
run: |
40+
twine upload dist/* --skip-existing

0 commit comments

Comments
 (0)