cache if file exists
parent
04a79f75cd
commit
a7eda598a7
|
|
@ -237,7 +237,7 @@ class AWS {
|
||||||
if [ -f "./${process.env.GITHUB_REF}/lib.zip" ]; then
|
if [ -f "./${process.env.GITHUB_REF}/lib.zip" ]; then
|
||||||
echo "Cache exists"
|
echo "Cache exists"
|
||||||
zip -r ./${process.env.GITHUB_REF}/lib.zip ./${buildUid}/repo/Library/.
|
zip -r ./${process.env.GITHUB_REF}/lib.zip ./${buildUid}/repo/Library/.
|
||||||
else; then
|
else
|
||||||
echo "Cache does not exist"
|
echo "Cache does not exist"
|
||||||
fi
|
fi
|
||||||
cd ${buildUid}/repo;
|
cd ${buildUid}/repo;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -25,7 +25,7 @@ class AWS {
|
||||||
if [ -f "./${process.env.GITHUB_REF}/lib.zip" ]; then
|
if [ -f "./${process.env.GITHUB_REF}/lib.zip" ]; then
|
||||||
echo "Cache exists"
|
echo "Cache exists"
|
||||||
zip -r ./${process.env.GITHUB_REF}/lib.zip ./${buildUid}/repo/Library/.
|
zip -r ./${process.env.GITHUB_REF}/lib.zip ./${buildUid}/repo/Library/.
|
||||||
else; then
|
else
|
||||||
echo "Cache does not exist"
|
echo "Cache does not exist"
|
||||||
fi
|
fi
|
||||||
cd ${buildUid}/repo;
|
cd ${buildUid}/repo;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue