Copy cloud runner cache into github workspace directory

pull/461/head
Frostebite 2022-09-28 02:07:31 +01:00
parent f5e6ab28c1
commit 45d4191982
3 changed files with 5 additions and 5 deletions

4
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',

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
`, `,
{ {