Skip to content

Commit 9389980

Browse files
committed
chore(CI): set LAKE_CACHE_DIR
1 parent 110ada3 commit 9389980

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

.github/build.in.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ env:
1111
# are valid by-products of the Mathlib build. Build artifacts fetched from Lake's cache do
1212
# not necessarily satisfy this property.
1313
LAKE_NO_CACHE: true
14+
# Direct Lake to store its artifact cache in `.lake`.
15+
# Prevents Lake from using a directory it may not have permissions to under landrun.
16+
LAKE_CACHE_DIR: .lake/cache
1417

1518
concurrency:
1619
# label each workflow run; only the latest with each label will run

.github/workflows/bors.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ env:
2121
# are valid by-products of the Mathlib build. Build artifacts fetched from Lake's cache do
2222
# not necessarily satisfy this property.
2323
LAKE_NO_CACHE: true
24+
# Direct Lake to store its artifact cache in `.lake`.
25+
# Prevents Lake from using a directory it may not have permissions to under landrun.
26+
LAKE_CACHE_DIR: .lake/cache
2427

2528
concurrency:
2629
# label each workflow run; only the latest with each label will run

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ env:
2828
# are valid by-products of the Mathlib build. Build artifacts fetched from Lake's cache do
2929
# not necessarily satisfy this property.
3030
LAKE_NO_CACHE: true
31+
# Direct Lake to store its artifact cache in `.lake`.
32+
# Prevents Lake from using a directory it may not have permissions to under landrun.
33+
LAKE_CACHE_DIR: .lake/cache
3134

3235
concurrency:
3336
# label each workflow run; only the latest with each label will run

.github/workflows/build_fork.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ env:
2525
# are valid by-products of the Mathlib build. Build artifacts fetched from Lake's cache do
2626
# not necessarily satisfy this property.
2727
LAKE_NO_CACHE: true
28+
# Direct Lake to store its artifact cache in `.lake`.
29+
# Prevents Lake from using a directory it may not have permissions to under landrun.
30+
LAKE_CACHE_DIR: .lake/cache
2831

2932
concurrency:
3033
# label each workflow run; only the latest with each label will run

0 commit comments

Comments
 (0)