From e1a2a78e89b15c2c35a577a786765c92297cc456 Mon Sep 17 00:00:00 2001 From: Tim Bryant Date: Mon, 21 Aug 2023 16:25:53 -0400 Subject: [PATCH] refactor(ci): convert to trusted publisher --- .github/workflows/ci.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 851e6d5..78b8ba0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -64,6 +64,7 @@ jobs: needs: Test environment: name: production + url: https://pypi.org/project/python-sysinformer/ if: github.event_name == 'push' && github.ref == 'refs/heads/main' runs-on: ubuntu-latest name: Release @@ -115,10 +116,6 @@ jobs: id: test_publish if: steps.release.outcome == 'success' uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.TEST_PYPI_API_TOKEN }} - repository-url: https://test.pypi.org/legacy/ - name: Test install from TestPyPI if: steps.test_publish.outcome == 'success'