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

Commit c4ae4c1

Browse files
authored
Update python-publish.yml
1 parent df94644 commit c4ae4c1

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,9 @@ jobs:
2929
- name: Install dependencies
3030
run: |
3131
python -m pip install --upgrade pip
32-
pip install build
32+
pip install -U twine
33+
pip install -U wheel
3334
- name: Build package
34-
run: python -m build
35+
run: python setup.py sdist bdist_wheel
3536
- name: Publish package
36-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
37-
with:
38-
user: __token__
39-
password: ${{ secrets.PYPI_API_TOKEN }}
37+
run: twine upload dist/* -u TodoLodo -p ${{ secrets.PYPI_API_PASSWORD }}

0 commit comments

Comments
 (0)