Create Lib folder when restoring cache

pull/235/head
mdugdale 2021-04-03 19:52:21 +01:00
parent 69ee3053d6
commit 98858d6b30
3 changed files with 3 additions and 1 deletions

1
dist/index.js vendored
View File

@ -258,6 +258,7 @@ class AWS {
echo $latest
if [ ! -z $latest ]; then
echo "Library cache exists from build $latest from $branchName"
mkdir /data/${buildUid}/repo/${buildParameters.projectPath}/Library
unzip -q $latest -d /data/${buildUid}/repo/${buildParameters.projectPath}/Library/.
else
echo "Cache does not exist"

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -46,6 +46,7 @@ class AWS {
echo $latest
if [ ! -z $latest ]; then
echo "Library cache exists from build $latest from $branchName"
mkdir /data/${buildUid}/repo/${buildParameters.projectPath}/Library
unzip -q $latest -d /data/${buildUid}/repo/${buildParameters.projectPath}/Library/.
else
echo "Cache does not exist"