Skip to content

Commit 8fed9df

Browse files
committed
Fix cache warmer: add Windows runner, timestamp keys, enable long paths
1. Add Windows runner to warmer matrix (OS-scoped cache). 2. Timestamp-based cache keys (no manual deletion needed). 3. Run exact CI commands to cache all plugins. 4. Enable long paths on Windows before checkout (repo has files exceeding 260-char Windows path limit). Signed-off-by: Gopal Lal <gopal.lal@databricks.com> Co-authored-by: Isaac Signed-off-by: Gopal Lal <gopal.lal@databricks.com>
2 parents a338ea5 + 2fd7949 commit 8fed9df

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/warmMavenCache.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ jobs:
4646
java-version: 21
4747
distribution: 'adopt'
4848

49+
- name: Enable long paths (Windows)
50+
if: runner.os == 'Windows'
51+
run: git config --system core.longpaths true
52+
4953
# If PR number provided, checkout only pom.xml files from the fork (security: no source code)
5054
- name: Checkout PR pom.xml files (sparse)
5155
if: inputs.pr_number != ''

0 commit comments

Comments
 (0)