Skip to content

Commit f60b7e5

Browse files
authored
feat: switch to OIDC release (#394)
Signed-off-by: Keming <kemingy94@gmail.com>
1 parent 7160ae5 commit f60b7e5

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/python-publish.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ on:
99
# Allows you to run this workflow manually from the Actions tab
1010
workflow_dispatch:
1111

12-
permissions:
13-
contents: read
14-
1512
jobs:
1613
deploy:
1714
runs-on: ubuntu-latest
15+
permissions:
16+
id-token: write
1817
steps:
1918
- uses: actions/checkout@v4
2019
- name: Set up Python
@@ -29,6 +28,3 @@ jobs:
2928
run: make package
3029
- name: Publish package
3130
uses: pypa/gh-action-pypi-publish@release/v1
32-
with:
33-
user: __token__
34-
password: ${{ secrets.PYPI_PASSWORD }}

0 commit comments

Comments
 (0)