Skip to content

Commit b87f2eb

Browse files
committed
Install zstd before restoring cache on windows-11-arm to get same cache version
1 parent e840292 commit b87f2eb

2 files changed

Lines changed: 349 additions & 275 deletions

File tree

.github/workflows/test.main.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,15 @@ workflowWithCopyright(
236236
runsOn = RunnerType.Custom(expr("matrix.environment")),
237237
_customArguments = _customArguments
238238
) {
239+
// work-around for https://github.com/actions/cache/issues/1622
240+
// and https://github.com/actions/partner-runner-images/issues/99
241+
run(
242+
name = "Install zstd on windows-11-arm",
243+
shell = Cmd,
244+
command = "choco install zstandard",
245+
condition = "matrix.environment == 'windows-11-arm'"
246+
)
247+
239248
uses(
240249
name = "Restore built artifacts from cache",
241250
action = CacheRestore(

0 commit comments

Comments
 (0)