Copy all of data folder to docker volume to enable local-docker retained workspace

pull/461/head
Frostebite 2022-10-05 20:38:40 +01:00
parent 9253b5e21c
commit 954066b224
3 changed files with 5 additions and 5 deletions

4
dist/index.js vendored
View File

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

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
mkdir -p /github/workspace/cloud-runner-cache
mkdir -p /data/cache
cp -a /github/workspace/cloud-runner-cache/. /data/cache/
cp -a /github/workspace/cloud-runner-cache/. /data/
tree -L 3 /data/
${commands}
cp -a /data/cache/. /github/workspace/cloud-runner-cache/
cp -a /data/. /github/workspace/cloud-runner-cache/
tree -L 2 /github/workspace/cloud-runner-cache
tree -L 3 /data/
`,