From 1f9f05fc91ae1c043b8ecd1d2f8ec53264cf82ab Mon Sep 17 00:00:00 2001 From: Ivo Branco Date: Thu, 18 Apr 2024 13:49:46 +0100 Subject: [PATCH] feat: use tagged Github Action The `pypa/gh-action-pypi-publish` no longer suggests to use the `master`, so we are replacing to use the latest tagged version. --- .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 ebaa27e..d6619ee 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -30,13 +30,13 @@ jobs: --outdir dist/ # - name: Publish distribution 📦 to Test PyPI - # uses: pypa/gh-action-pypi-publish@master + # uses: pypa/gh-action-pypi-publish@v1.8.14 # with: # password: ${{ secrets.TEST_PYPI_API_TOKEN }} # repository_url: https://test.pypi.org/legacy/ - name: Publish distribution 📦 to PyPI if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@v1.8.14 with: password: ${{ secrets.PYPI_API_TOKEN }}