From 978096f0b51da8c38e2e94ef4586b4a2323db0be Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Thu, 9 Mar 2023 14:20:08 +0100 Subject: [PATCH] Use `pypa/gh-action-pypi-publish@release/v1` @ GHA `master` has been sunset quite a while ago and points to a historic version. To use the latest stable release of this action, it should be `release/v1`. The TestPyPI upload uses the right step, but the PyPI one doesn't. This patch corrects that. --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a4451cd..2be19c8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -50,7 +50,7 @@ jobs: - name: Publish package to PyPI if: github.event.action == 'published' - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.pypi_password }}