diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1454cfc..c2022e3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -73,14 +73,14 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} - name: Build package - if: steps.semantic.outputs.new_release_published == 'true' + if: steps.semantic.outputs.released == 'true' env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | poetry build - name: Publish to TestPyPI - if: steps.semantic.outputs.new_release_published == 'true' + if: steps.semantic.outputs.released == 'true' uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ @@ -88,7 +88,7 @@ jobs: repository-url: https://test.pypi.org/legacy/ - name: Publish to PyPI - if: steps.semantic.outputs.new_release_published == 'true' + if: steps.semantic.outputs.released == 'true' uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__