From 8df11b54dc614e0bbd0ca192bc0a8d6768de7f2f Mon Sep 17 00:00:00 2001 From: Martin Larralde Date: Tue, 27 Feb 2024 17:01:05 +0100 Subject: [PATCH] Update `package.yml` Actions workflow to use trusted PyPI publishing [ci skip] --- .github/workflows/package.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index a498903..7a4d2a1 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -76,11 +76,7 @@ jobs: path: dist - name: Publish distributions to PyPI if: startsWith(github.ref, 'refs/tags/v') - uses: pypa/gh-action-pypi-publish@master - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} - skip_existing: false + uses: pypa/gh-action-pypi-publish@release/v1 changelog: runs-on: ubuntu-latest