Skip to content

Commit

Permalink
no longer use twine
Browse files Browse the repository at this point in the history
  • Loading branch information
jburel committed Mar 14, 2023
1 parent 0da60a2 commit d7b35fc
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,9 @@ jobs:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U setuptools setuptools_scm wheel twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
git tag
python -m pip install --upgrade wheel
python setup.py sdist bdist_wheel
twine upload dist/*
- name: Publish to PyPI
uses: pypa/[email protected]
with:
password: ${{ secrets.PYPI_PASSWORD }}

0 comments on commit d7b35fc

Please sign in to comment.