Skip to content

Commit b19c003

Browse files
committed
build: update python-package.yml for workflow
1 parent dc3bfdb commit b19c003

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,10 @@ jobs:
5151
steps:
5252
# retrieve your distributions here
5353

54-
- name: Publish package distributions to PyPI
55-
uses: pypa/gh-action-pypi-publish@release/v1
54+
- name: Publish package
55+
env:
56+
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
57+
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
58+
run: |
59+
python -m pip install --upgrade twine
60+
twine upload dist/*

0 commit comments

Comments
 (0)