Convert workflow from flit to twine for publishing
This commit is contained in:
parent
c3310d01b7
commit
1171fb59df
|
|
@ -21,10 +21,11 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install setuptools wheel flit
|
||||
pip install setuptools wheel twine
|
||||
- name: Build and publish
|
||||
env:
|
||||
FLIT_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
||||
FLIT_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
||||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||
run: |
|
||||
flit publish
|
||||
python -m build
|
||||
twine upload dist/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue