Skip to content

Commit 2da03ce

Browse files
committed
3.1.0
Try to fix the workflow.
1 parent 359f12e commit 2da03ce

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/python-publish.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ jobs:
3434
pip install -r requirements.txt
3535
- name: Build package
3636
run: python setup.py bdist_wheel
37-
- name: Publish package
38-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
39-
with:
40-
user: __token__
41-
password: ${{ secrets.PYPI_API_TOKEN }}
37+
- name: Build and publish
38+
env:
39+
TWINE_USERNAME: __token__
40+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
41+
run: |
42+
python setup.py sdist bdist_wheel
43+
twine upload dist/*

0 commit comments

Comments
 (0)