Commit d346b97
committed
fix: include Package.swift in cache key to prevent stale caches
The cache key was only using Package.resolved hash, which meant when
Package.swift dependencies changed, the cache wasn't invalidated.
This caused Ubuntu Swift 6.2 release builds to use stale cached artifacts
from before the HTMLElementTypesFoundation dependency was added.
Now cache key includes both:
- Package.swift (dependency declarations)
- Package.resolved (resolved versions)
This ensures cache is invalidated when dependencies change.1 parent 5225820 commit d346b97
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
0 commit comments