From 24f66ed49c7c29007e6b10a811a4cdc35bdeb7d3 Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Thu, 27 Jan 2022 20:34:59 -0800 Subject: [PATCH] Use released version of gh-action-pypi-publish Avoid using master version of gh-action-pypi-publish. Some orgs such as PyCQA don't permit using a non-released version of an Action. Fixes Issue #782 --- .github/workflows/publish-to-test-pypi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index 82d83a395..5544c37ef 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -23,7 +23,7 @@ jobs: python setup.py sdist bdist_wheel - 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_password }} + password: ${{ secrets.TEST_PYPI_PASSWORD }} repository_url: https://test.pypi.org/legacy/