From fa3690f5ca6bea19d01f6b61349b3cbf2e830248 Mon Sep 17 00:00:00 2001 From: Ralf Gabriels Date: Thu, 12 Oct 2023 17:56:35 +0200 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a757815e..bc6eb7f6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,6 +7,8 @@ on: jobs: python-package: runs-on: ubuntu-latest + permissions: + id-token: write # IMPORTANT: this permission is mandatory for trusted publishing steps: - uses: actions/checkout@v4 @@ -37,9 +39,6 @@ jobs: path: dist/* - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: ${{ secrets.PYPI_USERNAME }} - password: ${{ secrets.PYPI_PASSWORD }} windows-installer: runs-on: windows-latest