pull/289/head
Frostebite 2021-08-01 23:04:09 +01:00
parent 040d7eff6f
commit 416dc584e7
5 changed files with 8 additions and 6 deletions

4
dist/index.js vendored
View File

@ -2180,6 +2180,8 @@ class RemoteBuilder {
echo ' '
echo 'Initializing source repository for cloning with caching of LFS files'
${initializeSourceRepoForCaching}
export LFS_ASSETS_HASH="$(cat .lfs-assets-id)"
echo "LFS_ASSETS_HASH $LFS_ASSETS_HASH"
echo ' '
echo 'Large File before LFS caching and pull'
ls -alh "${testLFSFile}"
@ -2187,7 +2189,7 @@ class RemoteBuilder {
echo 'Source repository initialized'
echo ' '
echo 'Checking cache for the Unity project Library and git LFS files'
${handleCaching}
${handleCaching} "$LFS_ASSETS_HASH"
echo 'Caching complete'
echo ' '
echo 'Large File after LFS caching and pull'

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -25,7 +25,4 @@ echo ' '
echo 'Contents of .lfs-assets-id-sum file:'
cat .lfs-assets-id-sum
export LFS_ASSETS_HASH="$(cat .lfs-assets-id)"
echo "LFS_ASSETS_HASH $LFS_ASSETS_HASH"
echo ' '

View File

@ -5,6 +5,7 @@ cacheKey=$2
libraryFolderFull=$3
gitLFSDestinationFolder=$4
purgeRemoteBuilderCache=$5
LFS_ASSETS_HASH=$6
cacheFolderWithBranch="$cacheFolderFull/$cacheKey"
lfsCacheFolder="$cacheFolderFull/$cacheKey/lfs"

View File

@ -135,6 +135,8 @@ class RemoteBuilder {
echo ' '
echo 'Initializing source repository for cloning with caching of LFS files'
${initializeSourceRepoForCaching}
export LFS_ASSETS_HASH="$(cat .lfs-assets-id)"
echo "LFS_ASSETS_HASH $LFS_ASSETS_HASH"
echo ' '
echo 'Large File before LFS caching and pull'
ls -alh "${testLFSFile}"
@ -142,7 +144,7 @@ class RemoteBuilder {
echo 'Source repository initialized'
echo ' '
echo 'Checking cache for the Unity project Library and git LFS files'
${handleCaching}
${handleCaching} "$LFS_ASSETS_HASH"
echo 'Caching complete'
echo ' '
echo 'Large File after LFS caching and pull'