unzip Library cache to correct project path

pull/235/head
mdugdale 2021-04-03 19:41:01 +01:00
parent cb8687d2af
commit fcab2e5dcb
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

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

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

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