From 897dcf45747bfd73adf380b67a2ee3232ef2aee0 Mon Sep 17 00:00:00 2001 From: Yaxing Cai Date: Mon, 8 Jun 2026 09:50:19 +0000 Subject: [PATCH] [FIX][CI] Pin OrcJIT publish wheel to main, drop unused tag input publish_orcjit_wheel.yml was copy-pasted from the main-package publish_wheel.yml and inherited a `tag` workflow_dispatch input wired into the build-orcjit-wheel action's checkout_ref. The OrcJIT addon (apache-tvm_ffi_orcjit) is a standalone package versioned by its own addons/tvm_ffi_orcjit/pyproject.toml, independent of the tvm-ffi repo tags, so the tag was never a version source -- only a (wrong) checkout source. Dispatching the workflow with an old tag (e.g. v0.1.0, which predates the addon) made the action check out a tree with no addon, and cibuildwheel failed with "Could not find ... pyproject.toml" (run 27092992406). Remove the tag input and pin checkout_ref to main, so the publish always builds the current addon source; the wheel version comes from its pyproject.toml. The build-orcjit-wheel action keeps its checkout_ref input because ci_test.yml's orcjit job still uses it to build the addon at the PR head SHA. --- .github/workflows/publish_orcjit_wheel.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish_orcjit_wheel.yml b/.github/workflows/publish_orcjit_wheel.yml index af5a4b49d..cf9246bc9 100644 --- a/.github/workflows/publish_orcjit_wheel.yml +++ b/.github/workflows/publish_orcjit_wheel.yml @@ -18,11 +18,11 @@ name: Publish OrcJIT wheel on: + # The OrcJIT addon is a standalone package versioned by + # addons/tvm_ffi_orcjit/pyproject.toml, independent of the tvm-ffi repo tags. + # Always build from main (see checkout_ref below); the wheel version comes + # from that pyproject.toml, so no tag input is needed. workflow_dispatch: - inputs: - tag: - description: "Tag to publish (manual run)" - required: true jobs: build_wheels: @@ -48,7 +48,7 @@ jobs: with: arch: ${{ matrix.arch }} build: ${{ matrix.build }} - checkout_ref: ${{ inputs.tag }} + checkout_ref: main - name: Upload wheels uses: actions/upload-artifact@v4