after initalizing repo without lfs, log test LFS file size
parent
d353d2ce56
commit
fa25fc2431
|
|
@ -44,15 +44,11 @@ echo "Checking cache"
|
||||||
# Restore library cache
|
# Restore library cache
|
||||||
latest=$(ls -t "$cacheFolderWithBranch" | egrep -i -e '\\.zip$' | head -1)
|
latest=$(ls -t "$cacheFolderWithBranch" | egrep -i -e '\\.zip$' | head -1)
|
||||||
|
|
||||||
if [ "$(ls -A $latest)" ]; then
|
if [ ! -z "$latest" ]; then
|
||||||
echo 'Cache empty'
|
|
||||||
else if [ ! -z "$latest" ]; then
|
|
||||||
echo "Library cache exists from build $latest from $branchName"
|
echo "Library cache exists from build $latest from $branchName"
|
||||||
echo 'Creating empty Library folder for cache'
|
echo 'Creating empty Library folder for cache'
|
||||||
mkdir "$libraryFolderFull"
|
mkdir "$libraryFolderFull"
|
||||||
unzip -q "$cacheFolderWithBranch/$latest" -d "$libraryFolderFull"
|
unzip -q "$cacheFolderWithBranch/$latest" -d "$libraryFolderFull"
|
||||||
else
|
|
||||||
echo 'Cache does not exist'
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Restore LFS cache
|
# Restore LFS cache
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue