Skip to content

Commit

Permalink
use OIDC for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbachmann committed Feb 11, 2024
1 parent 6f3f1b7 commit acc0077
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/pythonbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,14 +207,13 @@ jobs:
needs: [build_wheels_windows, build_wheels_macos, build_wheels_linux, build_sdist]
name: deploy wheels to pypi
runs-on: ubuntu-latest

environment: pypi-release
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v3
with:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@v1.8.1
with:
user: __token__
password: ${{ secrets.pypi_password }}
- uses: pypa/gh-action-pypi-publish@v1.8.11
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name="Levenshtein",
version="0.24.0",
version="0.25.0",
url="https://github.com/rapidfuzz/Levenshtein",
author="Max Bachmann",
install_requires=["rapidfuzz >= 3.1.0, < 4.0.0"],
Expand Down

0 comments on commit acc0077

Please sign in to comment.