Skip to content

Commit 35971ca

Browse files
committed
Fix WORKSPACE path.
1 parent f8a5984 commit 35971ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/_build_torch_xla.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ jobs:
5454
- name: "Cache: Bazel Repository Cache"
5555
uses: actions/cache@v4
5656
with:
57-
key: bazel-repository-cache-${{ hashFiles("WORKSPACE") }}
57+
# Key should change whenever WORKSPACE file changes.
58+
# It might change due to archive pin updates or archive patch updates.
59+
key: bazel-repository-cache-${{ hashFiles("pytorch/xla/WORKSPACE") }}
5860
path: ${{ env.BAZEL_REPOSITORY_CACHE_RELATIVE_DIR }}
5961
enableCrossOsArchive: true
6062

0 commit comments

Comments
 (0)