From b5686170e5948054f77e8b65d4fa5e9d58a20afc Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Mon, 8 Jan 2024 12:13:38 +0100 Subject: [PATCH] Update pypa/gh-action-pypi-publish reference --- .github/workflows/publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 9b5a3be..8d9f7ff 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -25,13 +25,13 @@ jobs: twine check dist/* ls -l dist - name: Publish distribution 📦 to Test PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.TEST_PYPI_API_TOKEN }} repository_url: https://test.pypi.org/legacy/ skip_existing: true - name: Publish distribution 📦 to PyPI if: github.event_name == 'release' && github.event.action == 'created' - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_API_TOKEN }}