Skip to content

Commit

Permalink
use oidc to upload package to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
mvantellingen committed Oct 13, 2024
1 parent 22df212 commit e2ec14b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
jobs:
release:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v4

Expand All @@ -22,7 +25,4 @@ jobs:
run: python setup.py sdist bdist_wheel

- name: Publish package
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit e2ec14b

Please sign in to comment.