This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm-ffi.git


The following commit(s) were added to refs/heads/main by this push:
     new 1502aae1 fix ref selection in .github/workflows/torch_c_dlpack.yml 
(#854)
1502aae1 is described below

commit 1502aae19d18de641a47f96c89eb1cb92f7fc426
Author: xieofxie <[email protected]>
AuthorDate: Mon Oct 19 07:04:55 2026 -0700

    fix ref selection in .github/workflows/torch_c_dlpack.yml (#854)
    
    Fix that hardcoded main is used instead of the inputs.branch
    
    ---------
    
    Co-authored-by: hualxie <[email protected]>
---
 .github/workflows/torch_c_dlpack.yml | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/torch_c_dlpack.yml 
b/.github/workflows/torch_c_dlpack.yml
index cd4afbd3..f9fb8413 100644
--- a/.github/workflows/torch_c_dlpack.yml
+++ b/.github/workflows/torch_c_dlpack.yml
@@ -23,6 +23,7 @@ on:
       branch:
         description: "Branch or tag to publish (manual run)"
         required: true
+        type: string
 
 jobs:
   build_wheels_linux:
@@ -37,8 +38,7 @@ jobs:
         if: ${{ matrix.arch == 'x86_64'}}
       - uses: actions/checkout@v5
         with:
-          repository: apache/tvm-ffi
-          ref: main
+          ref: ${{ inputs.branch }}
           fetch-depth: 0
           submodules: recursive
           path: tvm-ffi
@@ -76,8 +76,7 @@ jobs:
     steps:
       - uses: actions/checkout@v5
         with:
-          repository: apache/tvm-ffi
-          ref: main
+          ref: ${{ inputs.branch }}
           fetch-depth: 0
           submodules: recursive
           path: tvm-ffi
@@ -104,8 +103,7 @@ jobs:
     steps:
       - uses: actions/checkout@v5
         with:
-          repository: apache/tvm-ffi
-          ref: main
+          ref: ${{ inputs.branch }}
           fetch-depth: 0
           submodules: recursive
           path: tvm-ffi
@@ -123,8 +121,7 @@ jobs:
     steps:
       - uses: actions/checkout@v5
         with:
-          repository: apache/tvm-ffi
-          ref: main
+          ref: ${{ inputs.branch }}
           fetch-depth: 0
           submodules: recursive
           path: tvm-ffi

Reply via email to