pull/235/head
mdugdale 2021-04-03 14:09:27 +01:00
parent 9aae530430
commit 2d09a57f80
3 changed files with 7 additions and 7 deletions

6
dist/index.js vendored
View File

@ -250,17 +250,17 @@ class AWS {
fi fi
cd "${branchName}" cd "${branchName}"
echo '' echo ' '
echo 'Cached Libraries for ${branchName}' echo 'Cached Libraries for ${branchName}'
ls ls
echo '' echo ' '
latest=$(ls -t | head -1) latest=$(ls -t | head -1)
echo $latest echo $latest
if [ -f $latest ]; then if [ -f $latest ]; then
echo "Cache exists" echo "Cache exists"
cd ../../ cd ../../
unzip "cache/${branchName}/$latest" ../${buildUid}/repo/Library/. unzip "cache/${branchName}/$latest" ./${buildUid}/repo/Library/.
else else
echo "Cache does not exist" echo "Cache does not exist"
fi fi

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -37,17 +37,17 @@ class AWS {
fi fi
cd "${branchName}" cd "${branchName}"
echo '' echo ' '
echo 'Cached Libraries for ${branchName}' echo 'Cached Libraries for ${branchName}'
ls ls
echo '' echo ' '
latest=$(ls -t | head -1) latest=$(ls -t | head -1)
echo $latest echo $latest
if [ -f $latest ]; then if [ -f $latest ]; then
echo "Cache exists" echo "Cache exists"
cd ../../ cd ../../
unzip "cache/${branchName}/$latest" ../${buildUid}/repo/Library/. unzip "cache/${branchName}/$latest" ./${buildUid}/repo/Library/.
else else
echo "Cache does not exist" echo "Cache does not exist"
fi fi