Skip to content

Commit da51388

Browse files
authored
Merge pull request #408 from wh0am1i/master
setup pypi upload
2 parents e7f2843 + 145da9d commit da51388

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
pip install setuptools wheel twine
2121
pip install -r requirements.txt
2222
- name: Build and publish
23-
env:
24-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
25-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
23+
with:
24+
user: __token__
25+
password: ${{ secrets.PYPI_API_TOKEN }}
2626
run: |
2727
python setup.py sdist bdist_wheel
2828
twine upload dist/*

0 commit comments

Comments
 (0)