diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 9998833..bf333da 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -14,7 +14,7 @@ jobs: url: https://pypi.org/p/pyfracgen permissions: id-token: write - if: ${{ github.event.workflow_run.conclusion == 'success' }} # && startsWith(github.ref, "refs/tags/") + if: ${{ github.event.workflow_run.conclusion == 'success' }} && startsWith(github.ref, "refs/tags/") steps: - uses: actions/checkout@v4 - name: Set up Python @@ -27,10 +27,10 @@ jobs: run: poetry check --no-interaction - name: Build run: poetry build - # - name: Publish - # uses: pypa/gh-action-pypi-publish@release/v1 - # with: - # skip-existing: true + - name: Publish + uses: pypa/gh-action-pypi-publish@release/v1 + with: + skip-existing: true