Skip to content

Commit dae14cb

Browse files
committed
Try trusted publishing
1 parent 875ac9a commit dae14cb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
jobs:
88
release:
99
runs-on: ubuntu-latest
10+
permissions:
11+
id-token: write
1012
steps:
1113
- uses: actions/checkout@v4
1214
- name: Set up Python
@@ -22,6 +24,3 @@ jobs:
2224
run: python3 -m build --sdist --wheel .
2325
- name: Publish
2426
uses: pypa/gh-action-pypi-publish@release/v1
25-
with:
26-
user: ${{ secrets.PYPI_USERNAME }}
27-
password: ${{ secrets.PYPI_PASSWORD }}

0 commit comments

Comments
 (0)