Copy cloud runner cache into github workspace directory

pull/461/head
Frostebite 2022-09-28 01:59:42 +01:00
parent 0cd2393ab0
commit f5e6ab28c1
4 changed files with 7 additions and 7 deletions

6
dist/index.js vendored
View File

@ -3639,10 +3639,10 @@ class LocalDockerCloudRunner {
apt-get update > /dev/null && apt-get install -y tree> /dev/null apt-get update > /dev/null && apt-get install -y tree> /dev/null
mkdir -p /github/workspace/cloud-runner-cache mkdir -p /github/workspace/cloud-runner-cache
mkdir -p /data/cache mkdir -p /data/cache
cp -r /github/workspace/cloud-runner-cache /data/cache cp -r /github/workspace/cloud-runner-cache /data/cache/
tree -L 2 /data/cache tree -L 2 /data/cache
${commands} ${commands}
cp -r /data/cache /github/workspace/cloud-runner-cache cp -r /data/cache /github/workspace/cloud-runner-cache/
tree -L 2 /github/workspace/cloud-runner-cache tree -L 2 /github/workspace/cloud-runner-cache
`, { `, {
flag: 'w', flag: 'w',
@ -4756,7 +4756,7 @@ class TaskParameterSerializer {
core.info(`[ERROR] found a number in task param serializer ${JSON.stringify(x)}`); core.info(`[ERROR] found a number in task param serializer ${JSON.stringify(x)}`);
} }
else { else {
core.info(`${JSON.stringify(x)}`); // core.info(`${JSON.stringify(x)}`);
} }
} }
return x; return x;

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -95,10 +95,10 @@ class LocalDockerCloudRunner implements ProviderInterface {
apt-get update > /dev/null && apt-get install -y tree> /dev/null apt-get update > /dev/null && apt-get install -y tree> /dev/null
mkdir -p /github/workspace/cloud-runner-cache mkdir -p /github/workspace/cloud-runner-cache
mkdir -p /data/cache mkdir -p /data/cache
cp -r /github/workspace/cloud-runner-cache /data/cache cp -r /github/workspace/cloud-runner-cache /data/cache/
tree -L 2 /data/cache tree -L 2 /data/cache
${commands} ${commands}
cp -r /data/cache /github/workspace/cloud-runner-cache cp -r /data/cache /github/workspace/cloud-runner-cache/
tree -L 2 /github/workspace/cloud-runner-cache tree -L 2 /github/workspace/cloud-runner-cache
`, `,
{ {

View File

@ -55,7 +55,7 @@ export class TaskParameterSerializer {
if (Number(x.name) === Number.NaN) { if (Number(x.name) === Number.NaN) {
core.info(`[ERROR] found a number in task param serializer ${JSON.stringify(x)}`); core.info(`[ERROR] found a number in task param serializer ${JSON.stringify(x)}`);
} else { } else {
core.info(`${JSON.stringify(x)}`); // core.info(`${JSON.stringify(x)}`);
} }
} }