cd to git dir, no other way because of reset

pull/273/head
Frostebite 2021-07-12 23:18:42 +01:00
parent e1c24d67e3
commit b35d88f004
4 changed files with 4 additions and 10 deletions

5
dist/index.js vendored
View File

@ -2106,16 +2106,13 @@ class RemoteBuilder {
mkdir ${repoPathFull}
mkdir ${steamPathFull}
#
echo "after making directories"
echo "root folders setup for remote build"
tree ${buildPathFull}
#
echo "Cloning utility repositories required for building"
git clone --branch "remote-builder/unified-providers" ${repo} ${builderPathFull}
git clone ${repo2} ${steamPathFull}
#
echo "after cloning utility repos"
tree ${buildPathFull}
#
${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}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@ repoPathFull=$1
cloneUrl=$2
githubSha=$3
export GIT_DIR=$repoPathFull
cd $repoPathFull
echo ''
echo "Cloning the repository being built:"

View File

@ -115,16 +115,13 @@ class RemoteBuilder {
mkdir ${repoPathFull}
mkdir ${steamPathFull}
#
echo "after making directories"
echo "root folders setup for remote build"
tree ${buildPathFull}
#
echo "Cloning utility repositories required for building"
git clone --branch "remote-builder/unified-providers" ${repo} ${builderPathFull}
git clone ${repo2} ${steamPathFull}
#
echo "after cloning utility repos"
tree ${buildPathFull}
#
${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}