cache if file exists

pull/235/head
mdugdale 2021-04-03 00:27:04 +01:00
parent 04a79f75cd
commit a7eda598a7
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -237,7 +237,7 @@ class AWS {
if [ -f "./${process.env.GITHUB_REF}/lib.zip" ]; then
echo "Cache exists"
zip -r ./${process.env.GITHUB_REF}/lib.zip ./${buildUid}/repo/Library/.
else; then
else
echo "Cache does not exist"
fi
cd ${buildUid}/repo;

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -25,7 +25,7 @@ class AWS {
if [ -f "./${process.env.GITHUB_REF}/lib.zip" ]; then
echo "Cache exists"
zip -r ./${process.env.GITHUB_REF}/lib.zip ./${buildUid}/repo/Library/.
else; then
else
echo "Cache does not exist"
fi
cd ${buildUid}/repo;