unzip cache fix

pull/263/head
Frostebite 2021-05-22 00:58:59 +01:00
parent 4e4e9e0b11
commit d49b88d4b4
3 changed files with 7 additions and 3 deletions

4
dist/index.js vendored
View File

@ -1887,7 +1887,9 @@ class RemoteBuilder {
echo "Library cache exists from build $latest from ${branchName}" echo "Library cache exists from build $latest from ${branchName}"
echo 'Creating empty Library folder for cache' echo 'Creating empty Library folder for cache'
mkdir "$libDir" mkdir "$libDir"
unzip -q $latest latestFile=$(basename $latest suffix)
mv $latest $libDir
unzip -q "$libDir/$latestFile"
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

@ -325,7 +325,9 @@ class RemoteBuilder {
echo "Library cache exists from build $latest from ${branchName}" echo "Library cache exists from build $latest from ${branchName}"
echo 'Creating empty Library folder for cache' echo 'Creating empty Library folder for cache'
mkdir "$libDir" mkdir "$libDir"
unzip -q $latest latestFile=$(basename $latest suffix)
mv $latest $libDir
unzip -q "$libDir/$latestFile"
else else
echo 'Cache does not exist' echo 'Cache does not exist'
fi fi