Skip to content

Commit

Permalink
Move auth to OIDC
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertoBochet committed Jun 27, 2024
1 parent fe825f2 commit 2620a23
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ jobs:
publish-python-package:
name: "Publish python package to pypi"
runs-on: ubuntu-latest

permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- name: Get version
Expand All @@ -71,9 +72,6 @@ jobs:
- name: Build package
run: |
poetry build
- name: Setup Pypi
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
- name: Publish to Pypi
run: |
poetry publish

0 comments on commit 2620a23

Please sign in to comment.