Skip to content

Commit

Permalink
Update python-publish.yml (#692)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrakenhoff committed Feb 20, 2024
2 parents eabc767 + 33d7471 commit b9ef48b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/python-publish.yml
Expand Up @@ -22,10 +22,10 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install wheel twine build
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python3 -m build
python3 -m twine upload --repository pypi dist/*
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit b9ef48b

Please sign in to comment.