diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 18831b08..1d33e896 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -93,7 +93,7 @@ jobs: path: dist/ - name: Publish package to PyPI - if: ! ${{ inputs.disable-publish || false }} # Only skips if inputs.disable-publish is true + if: ${{ !(inputs.disable-publish || false) }} # Only skips if inputs.disable-publish is true # All files in dist/ are published uses: pypa/gh-action-pypi-publish@release/v1 with: