Skip to content

Commit 0bd6f9c

Browse files
authored
[CI] Use glob for conda/build-environment.yaml in cache key (apache#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.
1 parent 2032e71 commit 0bd6f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ runs:
66
CACHE_NUMBER: 2
77
with:
88
path: ~/conda_pkgs_dir
9-
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('conda/build-environment.yaml') }}
9+
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('**/conda/build-environment.yaml') }}
1010
- uses: conda-incubator/setup-miniconda@v3
1111
continue-on-error: true
1212
id: conda1

0 commit comments

Comments
 (0)