pull/235/head
mdugdale 2021-04-14 00:48:15 +01:00
parent 8b23575127
commit 5157f3d761
3 changed files with 5 additions and 5 deletions

4
dist/index.js vendored
View File

@ -263,7 +263,7 @@ class AWS {
libDir="/${efsDirectoryName}/${buildUid}/${repositoryDirectoryName}/${buildParameters.projectPath}/Library"
if [ -d "$libDir" ]; then
echo "Library folder already present, make sure you setup .gitignore correctly (cleaning out Library folder for this build)!"
rm -r $libDir
rm -r "$libDir"
fi
echo "Checking cache"
# Restore cache
@ -271,7 +271,7 @@ class AWS {
if [ ! -z "$latest" ]; then
echo "Library cache exists from build $latest from ${branchName}"
echo "Creating empty Library folder for cache"
mkdir $libDir
mkdir "$libDir"
unzip -q "$latest" -d /${efsDirectoryName}/${buildUid}/${repositoryDirectoryName}/${buildParameters.projectPath}/Library/.
else
echo "Cache does not exist"

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -51,7 +51,7 @@ class AWS {
libDir="/${efsDirectoryName}/${buildUid}/${repositoryDirectoryName}/${buildParameters.projectPath}/Library"
if [ -d "$libDir" ]; then
echo "Library folder already present, make sure you setup .gitignore correctly (cleaning out Library folder for this build)!"
rm -r $libDir
rm -r "$libDir"
fi
echo "Checking cache"
# Restore cache
@ -59,7 +59,7 @@ class AWS {
if [ ! -z "$latest" ]; then
echo "Library cache exists from build $latest from ${branchName}"
echo "Creating empty Library folder for cache"
mkdir $libDir
mkdir "$libDir"
unzip -q "$latest" -d /${efsDirectoryName}/${buildUid}/${repositoryDirectoryName}/${buildParameters.projectPath}/Library/.
else
echo "Cache does not exist"