diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 20c1e8a..a100033 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -39,17 +39,7 @@ jobs: - name: Build the project run: uv build - - name: Check for pyproject.toml changes - id: check-changes - run: | - if git diff --name-only HEAD^ HEAD | grep -q "pyproject.toml"; then - echo "changed=true" >> "$GITHUB_OUTPUT" - else - echo "changed=false" >> "$GITHUB_OUTPUT" - fi - - name: Publish to PyPI - if: steps.check-changes.outputs.changed == 'true' env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}