Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesCNorton authored Jul 5, 2024
1 parent f1f1524 commit 075bdd6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,16 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install setuptools wheel build
- name: Build package
run: python setup.py sdist bdist_wheel
run: python -m build

- name: Publish package
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: twine upload dist/*
with:
id-token: write
environment: release
url: https://upload.pypi.org/legacy/

0 comments on commit 075bdd6

Please sign in to comment.