We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55fa1e9 commit 2f83645Copy full SHA for 2f83645
.github/workflows/publish.yml
@@ -15,12 +15,14 @@ jobs:
15
python-version: 3.8
16
- name: Install dependencies
17
run: |
18
- pip install -r requirements-dev.txt
19
- pip install build
+ python3 -m pip install -r requirements-dev.txt
+ python3 -m pip install -U setuptools wheel twine
20
- name: Build package
21
- run: python -m build
+ run: |
22
+ python3 setup.py sdist bdist_wheel
23
- name: Publish package to PyPI
- uses: pypa/gh-action-pypi-publish@release/v1
24
- with:
25
- user: __token__
26
- password: ${{ secrets.PYPI_TOKEN }}
+ python3 -m twine upload dist/*
+ env:
27
+ TWINE_USERNAME: __token__
28
+ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
0 commit comments