Skip to content

Commit

Permalink
update python-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldcampbelljr committed Jan 22, 2024
1 parent d7d8dce commit 2ff91e3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest

name: upload release to PyPI
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v2
- name: Set up Python
Expand All @@ -27,4 +30,5 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 2ff91e3

Please sign in to comment.