Skip to content

Commit

Permalink
Update python-publish.yml, again
Browse files Browse the repository at this point in the history
  • Loading branch information
kuffmode authored Feb 16, 2024
1 parent 967646e commit bca4f94
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@ permissions:
contents: read

jobs:
deploy:

pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/yanat
permissions:
id-token: write

steps:
- uses: actions/checkout@v3
Expand All @@ -24,8 +29,5 @@ jobs:
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit bca4f94

Please sign in to comment.