This is an automated email from the ASF dual-hosted git repository. cyx-6 pushed a commit to branch codex/validate-v0.1.16-rc0-publish in repository https://gitbox.apache.org/repos/asf/tvm-ffi.git
commit f27e11a228eb2de8f5686a92487146682321d700 Author: Yaxing Cai <[email protected]> AuthorDate: Thu Nov 5 02:00:13 2026 +0800 [CI] Add dry-run mode to wheel publication --- .github/workflows/publish_wheel.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish_wheel.yml b/.github/workflows/publish_wheel.yml index 53481144..7c864043 100644 --- a/.github/workflows/publish_wheel.yml +++ b/.github/workflows/publish_wheel.yml @@ -23,6 +23,11 @@ on: tag: description: "Tag to publish (manual run)" required: true + dry_run: + description: "Build and verify wheels without publishing to PyPI" + required: true + type: boolean + default: true jobs: build_wheels: @@ -70,7 +75,7 @@ jobs: permissions: id-token: write attestations: write - if: github.event_name == 'workflow_dispatch' # <-- publish only on manual trigger + if: github.event_name == 'workflow_dispatch' && !inputs.dry_run steps: - uses: actions/download-artifact@v4 with:
