From fb2fed087fc7b01f4d1bb04490f62f0ead2e02f0 Mon Sep 17 00:00:00 2001 From: David Pryce Date: Tue, 28 May 2024 15:05:30 +0100 Subject: [PATCH] fix: proper release naming for GHA --- .github/workflows/publish-to-pypi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 7eb190c..0788f89 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -64,12 +64,12 @@ jobs: - name: Publish distribution 📦 to Test PyPI # Specifying a GitHub environment is optional, but strongly encouraged if: ${{ github.ref != 'refs/heads/main' }} - uses: pypa/gh-action-pypi-publish@release/v1.8.11 + uses: pypa/gh-action-pypi-publish@v1.8.11 with: repository-url: https://test.pypi.org/legacy/ - name: Publish distribution 📦 to PyPI if: ${{ github.ref == 'refs/heads/main' }} - uses: pypa/gh-action-pypi-publish@release/v1.8.11 + uses: pypa/gh-action-pypi-publish@v1.8.11 - name: Add, commit and push version update if: ${{ github.ref == 'refs/heads/main' }} run: |