From 50c0bbbacdc4ca5d2b7030f9c9f22fea15692060 Mon Sep 17 00:00:00 2001 From: Rubel Date: Tue, 10 Dec 2024 11:19:53 +0100 Subject: [PATCH] Test trusted publisher. --- .github/workflows/publish.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7e124b1..5c6102c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,7 +7,8 @@ on: jobs: deploy: runs-on: ubuntu-latest - + permissions: + id-token: write steps: - uses: actions/checkout@v3 with: @@ -44,8 +45,7 @@ jobs: - name: Build package run: python -m build - name: Publish package - uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 - with: - user: __token__ - password: ${{secrets.PYPI_API_TOKEN}} - verbose: true \ No newline at end of file + uses: pypa/gh-action-pypi-publish@release/v1 + # with: + # user: __token__ + # password: ${{secrets.PYPI_API_TOKEN}} \ No newline at end of file