Copy cloud runner cache into github workspace directory

pull/461/head
Frostebite 2022-09-28 02:11:13 +01:00
parent 45d4191982
commit 8a6bf7d142
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 -a /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 -a /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 -a /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 -a /data/cache/. /github/workspace/cloud-runner-cache/
tree -L 2 /github/workspace/cloud-runner-cache tree -L 2 /github/workspace/cloud-runner-cache
`, `,
{ {