From 3852a789c012cd0e58c1d0e52a5a9169328b1075 Mon Sep 17 00:00:00 2001 From: Gareth S Cabourn Davies Date: Mon, 6 Jan 2025 15:22:52 +0000 Subject: [PATCH] Update pypi action to released (#66) --- .github/workflows/distribution.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/distribution.yml b/.github/workflows/distribution.yml index 66a618f..2faa7ba 100644 --- a/.github/workflows/distribution.yml +++ b/.github/workflows/distribution.yml @@ -56,13 +56,13 @@ jobs: mv artifact/* dist/ - name: Publish distribution 📦 to Test PyPI if: github.event_name == 'push' && github.ref == 'refs/heads/master' - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.test_pypi_password }} repository_url: https://test.pypi.org/legacy/ skip_existing: true - name: Publish distribution 📦 to PyPI if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.pypi_password }}