documentation update

This commit is contained in:
Aparna Jyothi 2025-06-09 13:20:47 +05:30
parent cfd17d94f5
commit 6090563d91
3 changed files with 18 additions and 14 deletions

14
dist/setup/index.js vendored
View file

@ -96934,12 +96934,14 @@ function cacheDependencies(cache, pythonVersion) {
core.warning(`The resolved cache-dependency-path does not exist: ${sourcePath}`);
}
else {
try {
fs_1.default.copyFileSync(sourcePath, targetPath);
core.info(`Copied ${sourcePath} to ${targetPath}`);
}
catch (error) {
core.warning(`Failed to copy file from ${sourcePath} to ${targetPath}: ${error}`);
if (sourcePath !== targetPath) {
try {
fs_1.default.copyFileSync(sourcePath, targetPath);
core.info(`Copied ${sourcePath} to ${targetPath}`);
}
catch (error) {
core.warning(`Failed to copy file from ${sourcePath} to ${targetPath}: ${error}`);
}
}
}
resolvedDependencyPath = path.relative(workspace, targetPath);