From a5a859bff0e97b3cb4ed04148e23e251cb2b2a12 Mon Sep 17 00:00:00 2001 From: romainsacchi Date: Sun, 15 Oct 2023 17:16:20 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8625d8b..d3d0011 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -88,14 +88,14 @@ jobs: - name: Publish distribution 📦 to PyPI if Release if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: ${{ secrets.PYPI_USER }} password: ${{ secrets.PYPI_PASSWORD }} skip_existing: true - name: Publish distribution 📦 to Test PyPI if Push - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: ${{ secrets.TEST_PYPI_USER }} password: ${{ secrets.TEST_PYPI_PASSWORD }}