diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 3ea632a..84af8dd 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -30,7 +30,7 @@ jobs: publish-to-pypi: name: >- publish-to-pypi - if: startsWith(github.ref, 'ref/tags/') + if: startsWith(github.ref, 'refs/tags/') needs: - build runs-on: ubuntu-latest @@ -90,7 +90,7 @@ jobs: publish-to-test-pypi: name: publish-to-test-pypi - # if: startsWith('ref/head/main', 'ref/head/development', 'ref/tags/') + if: startsWith('github.ref', 'ref/heads/development') needs: - build runs-on: ubuntu-latest