From bd3c4faa84d6785b805b65591d93074549d75356 Mon Sep 17 00:00:00 2001 From: monosans Date: Thu, 29 Aug 2024 13:03:55 +0300 Subject: [PATCH] Disable trusted publishing --- .github/workflows/publish.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1cbbcfca..1a980102 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,12 +7,14 @@ jobs: publish-pypi: runs-on: ubuntu-latest if: ${{ github.repository_owner == 'monosans' }} - permissions: - id-token: write + # permissions: + # id-token: write steps: - uses: actions/checkout@v4 - run: pipx run poetry build --no-interaction - uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_API_TOKEN }} publish-npm: runs-on: ubuntu-latest if: ${{ github.repository_owner == 'monosans' }}