From d4bbad8d7299b91abf033a851926bb96cc0e08ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Fri, 23 Jun 2023 15:40:38 +0100 Subject: [PATCH] Release 0.5.0 - trusted publishing (#203) Updating `wheels.yml` workflow to trusted publishing --- .github/workflows/wheels.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index aff80a10..f980d9b6 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -129,6 +129,8 @@ jobs: name: Upload wheels to PyPI runs-on: ubuntu-latest needs: [build_wheels,test_unix_wheels,test_windows_wheels] + permissions: + id-token: write steps: - uses: actions/download-artifact@v2 @@ -139,6 +141,4 @@ jobs: - name: Publish package to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: - user: ${{ secrets.PYPI_USERNAME }} - password: ${{ secrets.PYPI_PASSWORD }} packages_dir: wheelhouse/