diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index ea0a7bb6f..33e039d7a 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -1,9 +1,10 @@ name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI on: - workflow_dispatch: # Keep manual trigger - schedule: - - cron: "0 0 * * *" # Run every day at midnight + push + # workflow_dispatch: # Keep manual trigger + # schedule: + # - cron: "0 0 * * *" # Run every day at midnight jobs: build: @@ -21,7 +22,7 @@ jobs: id: sha run: echo "sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - name: Update version for nightly - if: github.event_name == 'schedule' + # if: github.event_name == 'schedule' run: | # Assuming your version is in setup.py or pyproject.toml sed -i "s/version=\".*\"/version=\"&.dev${{ steps.date.outputs.date }}+${{ steps.sha.outputs.sha }}\"/" setup.py