From acc0077252e6976706a3b3012c6db662d27d964a Mon Sep 17 00:00:00 2001 From: Max Bachmann Date: Sun, 11 Feb 2024 17:35:22 +0100 Subject: [PATCH] use OIDC for publishing --- .github/workflows/pythonbuild.yml | 9 ++++----- setup.py | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pythonbuild.yml b/.github/workflows/pythonbuild.yml index 833be58..6bc4f8c 100644 --- a/.github/workflows/pythonbuild.yml +++ b/.github/workflows/pythonbuild.yml @@ -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 \ No newline at end of file diff --git a/setup.py b/setup.py index b10c4b2..96edfb6 100644 --- a/setup.py +++ b/setup.py @@ -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"],