Skip to content

Commit

Permalink
ci: Add dependency on 'build' package, set twine username to __token__
Browse files Browse the repository at this point in the history
  • Loading branch information
cpitclaudel committed Jul 1, 2021
1 parent bf859fd commit 2dd52dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install build twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
make upload

0 comments on commit 2dd52dd

Please sign in to comment.