diff --git a/dist/remote-builder/combineLFSHash.sh b/dist/remote-builder/combineLFSHash.sh index 5c65b63e..9633a08d 100755 --- a/dist/remote-builder/combineLFSHash.sh +++ b/dist/remote-builder/combineLFSHash.sh @@ -2,7 +2,8 @@ echo "Combining LFS hash files into one hash, this can be used to cache LFS files" git lfs ls-files -l | cut -d' ' -f1 | sort > $1/lfsSum.txt -echo '' +echo ' ' +ls $1 echo 'combined file:' cat $1/lfsSum.txt -echo '' +echo ' ' diff --git a/dist/remote-builder/handleCaching.sh b/dist/remote-builder/handleCaching.sh index 16f13e75..866785b1 100755 --- a/dist/remote-builder/handleCaching.sh +++ b/dist/remote-builder/handleCaching.sh @@ -6,7 +6,7 @@ purgeRemoteBuilderCache=$3 echo "Checking cache" -# Restore cache +# Restore library cache latest=$(ls -t | head -1) if [ ! -z "$latest" ]; then echo "Library cache exists from build $latest from $branchName" @@ -17,6 +17,8 @@ else echo 'Cache does not exist' fi +# Restore LFS cache + # purge cache if [ "$purgeRemoteBuilderCache" == "true" ]; then rm -r $libDir