Convert workflow from flit to twine for publishing

This commit is contained in:
Dylan M. Taylor 2022-02-12 13:51:16 -05:00 committed by GitHub
parent c3310d01b7
commit 1171fb59df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -21,10 +21,11 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install setuptools wheel flit pip install setuptools wheel twine
- name: Build and publish - name: Build and publish
env: env:
FLIT_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
FLIT_PASSWORD: ${{ secrets.PYPI_PASSWORD }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: | run: |
flit publish python -m build
twine upload dist/*