Skip to content

Commit acc0077

Browse files
committed
use OIDC for publishing
1 parent 6f3f1b7 commit acc0077

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/pythonbuild.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -207,14 +207,13 @@ jobs:
207207
needs: [build_wheels_windows, build_wheels_macos, build_wheels_linux, build_sdist]
208208
name: deploy wheels to pypi
209209
runs-on: ubuntu-latest
210-
210+
environment: pypi-release
211+
permissions:
212+
id-token: write
211213
steps:
212214
- uses: actions/download-artifact@v3
213215
with:
214216
name: artifact
215217
path: dist
216218

217-
- uses: pypa/[email protected]
218-
with:
219-
user: __token__
220-
password: ${{ secrets.pypi_password }}
219+
- uses: pypa/[email protected]

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
setup(
99
name="Levenshtein",
10-
version="0.24.0",
10+
version="0.25.0",
1111
url="https://github.com/rapidfuzz/Levenshtein",
1212
author="Max Bachmann",
1313
install_requires=["rapidfuzz >= 3.1.0, < 4.0.0"],

0 commit comments

Comments
 (0)