From 660bb1f64bd023ce8e237e2a1840e7b8924e58f1 Mon Sep 17 00:00:00 2001 From: Yiyu Ni Date: Mon, 26 Feb 2024 21:40:44 -0800 Subject: [PATCH] use trusted publisher --- .github/workflows/release.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 00a93b1..3bd6d6a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -54,12 +54,11 @@ jobs: ls -ltrh ls -ltrh dist - name: Publish to Test PyPI - uses: pypa/gh-action-pypi-publish@v1.8.5 + uses: pypa/gh-action-pypi-publish@release/v1 with: - password: ${{ secrets.TEST_PYPI_API_TOKEN }} - repository_url: https://test.pypi.org/legacy/ + repository-url: https://test.pypi.org/legacy/ verbose: true - skip_existing: true + skip-existing: true - name: Check pypi packages id: check_pkg run: |