cleanup
parent
3c692e288f
commit
92cc266557
|
|
@ -238,12 +238,12 @@ class AWS {
|
||||||
git clone -q https://${process.env.GITHUB_TOKEN}@github.com/${process.env.GITHUB_REPOSITORY}.git ${buildUid}/repo;
|
git clone -q https://${process.env.GITHUB_TOKEN}@github.com/${process.env.GITHUB_REPOSITORY}.git ${buildUid}/repo;
|
||||||
git clone -q https://${process.env.GITHUB_TOKEN}@github.com/game-ci/unity-builder.git ${buildUid}/builder;
|
git clone -q https://${process.env.GITHUB_TOKEN}@github.com/game-ci/unity-builder.git ${buildUid}/builder;
|
||||||
|
|
||||||
if [ ! -d "cache/${branchName}" ]; then
|
if [ ! -d "cache" ]; then
|
||||||
mkdir "cache/${branchName}"
|
mkdir "cache"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ls
|
ls
|
||||||
cd ./cache/${branchName}
|
cd cache
|
||||||
ls
|
ls
|
||||||
|
|
||||||
echo ''
|
echo ''
|
||||||
|
|
@ -252,7 +252,7 @@ class AWS {
|
||||||
echo $latest
|
echo $latest
|
||||||
if [ -f $latest ]; then
|
if [ -f $latest ]; then
|
||||||
echo "Cache exists"
|
echo "Cache exists"
|
||||||
unzip "$latest" ../../${buildUid}/repo/Library/.
|
unzip "$latest" ../${buildUid}/repo/Library/.
|
||||||
else
|
else
|
||||||
echo "Cache does not exist"
|
echo "Cache does not exist"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -25,12 +25,12 @@ class AWS {
|
||||||
git clone -q https://${process.env.GITHUB_TOKEN}@github.com/${process.env.GITHUB_REPOSITORY}.git ${buildUid}/repo;
|
git clone -q https://${process.env.GITHUB_TOKEN}@github.com/${process.env.GITHUB_REPOSITORY}.git ${buildUid}/repo;
|
||||||
git clone -q https://${process.env.GITHUB_TOKEN}@github.com/game-ci/unity-builder.git ${buildUid}/builder;
|
git clone -q https://${process.env.GITHUB_TOKEN}@github.com/game-ci/unity-builder.git ${buildUid}/builder;
|
||||||
|
|
||||||
if [ ! -d "cache/${branchName}" ]; then
|
if [ ! -d "cache" ]; then
|
||||||
mkdir "cache/${branchName}"
|
mkdir "cache"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ls
|
ls
|
||||||
cd ./cache/${branchName}
|
cd cache
|
||||||
ls
|
ls
|
||||||
|
|
||||||
echo ''
|
echo ''
|
||||||
|
|
@ -39,7 +39,7 @@ class AWS {
|
||||||
echo $latest
|
echo $latest
|
||||||
if [ -f $latest ]; then
|
if [ -f $latest ]; then
|
||||||
echo "Cache exists"
|
echo "Cache exists"
|
||||||
unzip "$latest" ../../${buildUid}/repo/Library/.
|
unzip "$latest" ../${buildUid}/repo/Library/.
|
||||||
else
|
else
|
||||||
echo "Cache does not exist"
|
echo "Cache does not exist"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue