pull/235/head
mdugdale 2021-04-03 13:10:56 +01:00
parent 3c692e288f
commit 92cc266557
3 changed files with 9 additions and 9 deletions

8
dist/index.js vendored
View File

@ -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

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -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