From ba81bf7c3dcc975894c230cbe0bd3c65ea9387ec Mon Sep 17 00:00:00 2001 From: Lawrence Hunt Date: Sun, 4 Feb 2024 17:54:29 +1100 Subject: [PATCH] fix: Update sunsetted tag for pypi publish action --- .github/workflows/release.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 210b19a..5a7bcc3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,9 +13,6 @@ jobs: name: Build test and publish Python 🐍 distributions 📦 to PyPI and TestPyPI runs-on: ubuntu-20.04 - permissions: - id-token: write - steps: - uses: actions/checkout@master - name: Set up Python 3.9 @@ -45,9 +42,9 @@ jobs: - name: Publish distribution 📦 to Test PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: - skip_existing: true + skip-existing: true password: ${{ secrets.TEST_PYPI_API_TOKEN }} - repository_url: https://test.pypi.org/legacy/ + repository-url: https://test.pypi.org/legacy/ - name: Publish distribution 📦 to PyPI if: startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@release/v1