steam deploy fix

pull/263/head
Frostebite 2021-05-23 00:28:43 +01:00
parent cf2402e754
commit a419e8058c
3 changed files with 11 additions and 9 deletions

9
dist/index.js vendored
View File

@ -1667,9 +1667,9 @@ class RemoteBuilder {
'-c',
`
ls
chmod -R +x /entrypoint.sh;
chmod -R +x /steps;
/entrypoint.sh;
chmod -R +x entrypoint.sh;
chmod -R +x steps;
entrypoint.sh;
`,
], `/${efsDirectoryName}`, `/${efsDirectoryName}/${buildUid}/steam/action/`, [
{
@ -1895,7 +1895,8 @@ class RemoteBuilder {
echo 'Creating empty Library folder for cache'
mkdir $libDir
unzip -q $latest -d $libDir
rm -r $libDir
# purge cache
# rm -r $libDir
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

@ -52,9 +52,9 @@ class RemoteBuilder {
'-c',
`
ls
chmod -R +x /entrypoint.sh;
chmod -R +x /steps;
/entrypoint.sh;
chmod -R +x entrypoint.sh;
chmod -R +x steps;
entrypoint.sh;
`,
],
`/${efsDirectoryName}`,
@ -340,7 +340,8 @@ class RemoteBuilder {
echo 'Creating empty Library folder for cache'
mkdir $libDir
unzip -q $latest -d $libDir
rm -r $libDir
# purge cache
# rm -r $libDir
else
echo 'Cache does not exist'
fi