Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit 7c11165

Browse files
garryodcoretl
authored andcommitted
Use PyPA action for PyPI Publish
Use the official Python Packaging Authority (PyPA) Action to publish to PyPI
1 parent d35ffdb commit 7c11165

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/code.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ jobs:
162162
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
163163

164164
- name: Publish to PyPI
165-
env:
166-
TWINE_USERNAME: __token__
165+
uses: pypa/gh-action-pypi-publish@release/v1
166+
with:
167167
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
168-
run: pipx run twine upload dist/*.whl dist/*.tar.gz

0 commit comments

Comments
 (0)