specify bee (incremental) build cache directory environment variable for windows docker run command and cache to Library directory (#717)

This commit is contained in:
John Soros
2025-10-19 19:56:45 +02:00
committed by GitHub
parent ab64768ceb
commit cfdebb67c1
5 changed files with 6 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ describe('Cloud Runner Github Checks', () => {
status: 200,
data: {},
});
// eslint-disable-next-line unicorn/no-useless-undefined
jest.spyOn(GitHub as any, 'runUpdateAsyncChecksWorkflow').mockResolvedValue(undefined);
});

View File

@@ -107,6 +107,7 @@ class Docker {
--workdir c:${dockerWorkspacePath} \
--rm \
${ImageEnvironmentFactory.getEnvVarString(parameters)} \
--env BEE_CACHE_DIRECTORY=c:${dockerWorkspacePath}/Library/bee_cache \
--env GITHUB_WORKSPACE=c:${dockerWorkspacePath} \
${gitPrivateToken ? `--env GIT_PRIVATE_TOKEN="${gitPrivateToken}"` : ''} \
--volume "${workspace}":"c:${dockerWorkspacePath}" \