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

tlopex 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 0bd6f9cad5 [CI] Use glob for `conda/build-environment.yaml` in cache 
key (#18498)
0bd6f9cad5 is described below

commit 0bd6f9cad5efe675c86cfe6ccc4064bb3dbca72d
Author: Masahiro Hiramori <[email protected]>
AuthorDate: Mon Nov 24 17:17:37 2025 +0900

    [CI] Use glob for `conda/build-environment.yaml` in cache key (#18498)
    
    The previous cache key used `conda/build-environment.yaml` and caused
    macOS CI errors.
    Switching to `**/conda/build-environment.yaml` to see if it works.
---
 .github/actions/setup/action.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml
index 9f68667375..8288c6f641 100644
--- a/.github/actions/setup/action.yml
+++ b/.github/actions/setup/action.yml
@@ -6,7 +6,7 @@ runs:
       CACHE_NUMBER: 2
     with:
       path: ~/conda_pkgs_dir
-      key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ 
hashFiles('conda/build-environment.yaml') }}
+      key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ 
hashFiles('**/conda/build-environment.yaml') }}
   - uses: conda-incubator/setup-miniconda@v3
     continue-on-error: true
     id: conda1

Reply via email to