Skip to content

Commit

Permalink
fix(ci): upload to pypi step
Browse files Browse the repository at this point in the history
  • Loading branch information
tversteeg committed Feb 24, 2023
1 parent 95d7d53 commit 9bde01a
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/release_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ jobs:

- name: Install dependencies
run: |
pip install setuptools wheel
pip install setuptools twine
- name: Build
- name: Build & Release
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_PASSWORD }}
python setup.py sdist
twine upload --skip-existing dist/*

0 comments on commit 9bde01a

Please sign in to comment.