Skip to content

Commit 5a43a0e

Browse files
author
Brendan Chou
committed
fix publish
1 parent c53af44 commit 5a43a0e

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/publish.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ jobs:
2121
run: sudo pip install -r requirements-publish.txt
2222

2323
- name: init .pypirc
24-
env:
25-
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
26-
run: |
27-
echo -e "[pypi]" >> ~/.pypirc
28-
echo -e "username = __token__" >> ~/.pypirc
29-
echo -e "password = $PYPI_TOKEN" >> ~/.pypirc
24+
env:
25+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
26+
run: |
27+
echo -e "[pypi]" >> ~/.pypirc
28+
echo -e "username = __token__" >> ~/.pypirc
29+
echo -e "password = $PYPI_TOKEN" >> ~/.pypirc
3030
3131
- name: create packages
32-
run: python3 setup.py sdist bdist_wheel
32+
run: python3 setup.py sdist bdist_wheel
3333

3434
- name: upload to pypi
35-
run: python3 -m twine upload dist/* --skip-existing
35+
run: python3 -m twine upload dist/* --skip-existing

0 commit comments

Comments
 (0)