pull/218/head
mdugdale 2021-02-18 00:31:10 +00:00
parent d5811a4dab
commit a466819340
2 changed files with 9 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -47,11 +47,11 @@ class AWS {
baseImage.toString(),
['/bin/sh'],
['-c', `
if [ $GITHUB_TOKEN == '0' ]; then unset GITHUB_TOKEN; fi
if [ $UNITY_LICENSE == '0' ]; then unset UNITY_LICENSE; fi
if [ $ANDROID_KEYSTORE_BASE64 == '0' ]; then unset ANDROID_KEYSTORE_BASE64; fi
if [ $ANDROID_KEYSTORE_PASS == '0' ]; then unset ANDROID_KEYSTORE_PASS; fi
if [ $ANDROID_KEYALIAS_PASS == '0' ]; then unset ANDROID_KEYALIAS_PASS; fi
if [ '$GITHUB_TOKEN' == '0' ]; then unset GITHUB_TOKEN; fi
if [ '$UNITY_LICENSE' == '0' ]; then unset UNITY_LICENSE; fi
if [ '$ANDROID_KEYSTORE_BASE64' == '0' ]; then unset ANDROID_KEYSTORE_BASE64; fi
if [ '$ANDROID_KEYSTORE_PASS' == '0' ]; then unset ANDROID_KEYSTORE_PASS; fi
if [ '$ANDROID_KEYALIAS_PASS' == '0' ]; then unset ANDROID_KEYALIAS_PASS; fi
cp -r /data/$BUILD_ID/builder/action/default-build-script /UnityBuilderAction;
cp -r /data/$BUILD_ID/builder/action/entrypoint.sh /entrypoint.sh;
cp -r /data/$BUILD_ID/builder/action/steps /steps;
@ -275,7 +275,9 @@ class AWS {
containerOverrides: [
{
name: taskDefStackName,
environment,
environment: environment.concat([
{name:'BUILDID', value: jobId}
]),
},
],
},