copy zipped lfs files to cache director correctly

pull/273/head
Frostebite 2021-08-01 01:17:43 +01:00
parent 2f4ae71ee5
commit 4f035073d9
3 changed files with 5 additions and 3 deletions

3
dist/index.js vendored
View File

@ -2192,7 +2192,8 @@ class RemoteBuilder {
git lfs pull
ls -alh "${testLFSFile}"
ls -alh "${lfsDirectory}"
zip -r lib-${buildUid}.zip ".git/lfs/*"
zip -r lib-${buildUid}.zip "./.git/lfs/*"
cp lib-${buildUid}.zip "${cacheFolderFull}/${branchName}/lfs"
echo ' '
#
echo 'buildVolumeReport.txt and buildVolumeReport.txt saved to repository workspace directory'

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -149,7 +149,8 @@ class RemoteBuilder {
git lfs pull
ls -alh "${testLFSFile}"
ls -alh "${lfsDirectory}"
zip -r lib-${buildUid}.zip ".git/lfs/*"
zip -r lib-${buildUid}.zip "./.git/lfs/*"
cp lib-${buildUid}.zip "${cacheFolderFull}/${branchName}/lfs"
echo ' '
#
echo 'buildVolumeReport.txt and buildVolumeReport.txt saved to repository workspace directory'