pull/289/head
Frostebite 2021-08-21 17:04:11 +00:00 committed by GitHub
parent f1ab624047
commit 371d15a114
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ latestLibraryCacheFile=$(ls -t "$libraryCacheFolder" | grep .zip$ | head -1)
echo "Checking if Library cache $libraryCacheFolder/$latestLibraryCacheFile exists" echo "Checking if Library cache $libraryCacheFolder/$latestLibraryCacheFile exists"
if [ -f "$libraryCacheFolder/$latestLibraryCacheFile" ]; then if [ -f "$libraryCacheFolder/$latestLibraryCacheFile" ]; then
echo "Library cache exists" echo "Library cache exists"
unzip -q "$libraryCacheFolder/$latestLibraryCacheFile" -d "$libraryFolderFull/../" unzip -q "$libraryCacheFolder/$latestLibraryCacheFile" -d "$repoPathFull"
tree "$libraryFolderFull" tree "$libraryFolderFull"
fi fi
@ -48,7 +48,7 @@ fi
if [ ! -f "$lfsCacheFolder/$latestLFSCacheFile" ]; then if [ ! -f "$lfsCacheFolder/$latestLFSCacheFile" ]; then
echo "LFS cache exists from build $latestLFSCacheFile from $branch" echo "LFS cache exists from build $latestLFSCacheFile from $branch"
rm -r "$gitLFSDestinationFolder" rm -r "$gitLFSDestinationFolder"
unzip -q "$lfsCacheFolder/$latestLFSCacheFile" -d "$gitLFSDestinationFolder/../" unzip -q "$lfsCacheFolder/$latestLFSCacheFile" -d "$repoPathFull/.git"
echo "git LFS folder, (should not contain $latestLFSCacheFile)" echo "git LFS folder, (should not contain $latestLFSCacheFile)"
ls -lh "$gitLFSDestinationFolder/" ls -lh "$gitLFSDestinationFolder/"
fi fi