Better startup log messages

pull/273/head
Frostebite 2021-07-12 23:46:21 +01:00
parent 455adeb14c
commit 092e677ea0
4 changed files with 8 additions and 7 deletions

2
dist/index.js vendored
View File

@ -2118,7 +2118,7 @@ class RemoteBuilder {
${builderPathFull}/dist/remote-builder/cloneNoLFS.sh ${repoPathFull} ${repo3} $GITHUB_SHA
${builderPathFull}/dist/remote-builder/combineLFSHash.sh ${repoPathFull}
${builderPathFull}/dist/remote-builder/setupCache.sh ${cacheFolderFull} ${branchName} ${libraryFolderFull}
${builderPathFull}/dist/remote-builder/handleCaching.sh ${branchName} ${libraryFolderFull} ${purgeRemoteCache}
${builderPathFull}/dist/remote-builder/handleCaching.sh ${cacheFolderFull} ${branchName} ${libraryFolderFull} ${purgeRemoteCache}
#
echo ''
#

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -1,13 +1,14 @@
#!/bin/sh
branchName=$1
libDir=$2
purgeRemoteBuilderCache=$3
cacheDir=$1
branchName=$2
libDir=$3
purgeRemoteBuilderCache=$4
echo "Checking cache"
# Restore library cache
latest=$(ls -t | head -1)
latest=$(ls -t $cacheDir | head -1)
if [ ! -z "$latest" ]; then
echo "Library cache exists from build $latest from $branchName"
echo 'Creating empty Library folder for cache'

View File

@ -127,7 +127,7 @@ class RemoteBuilder {
${builderPathFull}/dist/remote-builder/cloneNoLFS.sh ${repoPathFull} ${repo3} $GITHUB_SHA
${builderPathFull}/dist/remote-builder/combineLFSHash.sh ${repoPathFull}
${builderPathFull}/dist/remote-builder/setupCache.sh ${cacheFolderFull} ${branchName} ${libraryFolderFull}
${builderPathFull}/dist/remote-builder/handleCaching.sh ${branchName} ${libraryFolderFull} ${purgeRemoteCache}
${builderPathFull}/dist/remote-builder/handleCaching.sh ${cacheFolderFull} ${branchName} ${libraryFolderFull} ${purgeRemoteCache}
#
echo ''
#