This is an automated email from the ASF dual-hosted git repository.
MasterJH5574 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 71519913d8 [CI] Remove PyPI-only tag ref guard from wheel publishing
(#19685)
71519913d8 is described below
commit 71519913d8a9fd6257a0dfb46100849857c1e83e
Author: Shushi Hong <[email protected]>
AuthorDate: Mon Jun 8 18:55:06 2026 -0400
[CI] Remove PyPI-only tag ref guard from wheel publishing (#19685)
Remove the PyPI-specific ref guard from the wheel publishing workflow.
---
.github/workflows/publish_wheel.yml | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/.github/workflows/publish_wheel.yml
b/.github/workflows/publish_wheel.yml
index 298c8234b7..af837355b1 100644
--- a/.github/workflows/publish_wheel.yml
+++ b/.github/workflows/publish_wheel.yml
@@ -21,7 +21,7 @@ on:
workflow_dispatch:
inputs:
tag:
- description: "Tag, branch, or SHA to build; PyPI publishes require
refs/tags/<tag>"
+ description: "Tag, branch, or SHA to build"
required: true
type: string
publish_repository:
@@ -150,18 +150,6 @@ jobs:
include_cuda_runtime: "1"
artifact_suffix: windows-amd64
steps:
- - name: Validate publish inputs
- shell: bash
- env:
- TVM_PUBLISH_REPOSITORY: ${{ inputs.publish_repository }}
- TVM_PUBLISH_REF: ${{ inputs.tag }}
- run: |
- set -eux
- if [[ "${TVM_PUBLISH_REPOSITORY}" == "pypi" && "${TVM_PUBLISH_REF}"
!= refs/tags/* ]]; then
- echo "PyPI publishes must use an immutable refs/tags/<tag> ref" >&2
- exit 1
- fi
-
- name: Checkout source
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #
v6.0.2
with: