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/game-ci/unity-builder.git ${buildUid}/builder;
if [ ! -d "cache/${branchName}" ]; then
mkdir "cache/${branchName}"
if [ ! -d "cache" ]; then
mkdir "cache"
fi
ls
cd ./cache/${branchName}
cd cache
ls
echo ''
@ -252,7 +252,7 @@ class AWS {
echo $latest
if [ -f $latest ]; then
echo "Cache exists"
unzip "$latest" ../../${buildUid}/repo/Library/.
unzip "$latest" ../${buildUid}/repo/Library/.
else
echo "Cache does not exist"
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/game-ci/unity-builder.git ${buildUid}/builder;
if [ ! -d "cache/${branchName}" ]; then
mkdir "cache/${branchName}"
if [ ! -d "cache" ]; then
mkdir "cache"
fi
ls
cd ./cache/${branchName}
cd cache
ls
echo ''
@ -39,7 +39,7 @@ class AWS {
echo $latest
if [ -f $latest ]; then
echo "Cache exists"
unzip "$latest" ../../${buildUid}/repo/Library/.
unzip "$latest" ../${buildUid}/repo/Library/.
else
echo "Cache does not exist"
fi