pull/437/head
Frostebite 2022-10-14 00:59:40 +01:00
parent 9660b3f47d
commit cda93e27fc
4 changed files with 7 additions and 7 deletions

6
dist/index.js vendored
View File

@ -4623,9 +4623,9 @@ class CloudRunnerCustomSteps {
aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID --profile default
aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY --profile default
aws configure set region $AWS_DEFAULT_REGION --profile default
BUCKET1="game-ci-test-storage/$CACHE_KEY/library"
BUCKET1="game-ci-test-storage/$CACHE_KEY/Library"
OBJECT1="$(aws s3 ls $BUCKET1 --recursive | sort | tail -n 1 | awk '{print $4}')"
aws s3 cp s3://$BUCKET1/$OBJECT1 /data/cache/$CACHE_KEY/library/
aws s3 cp s3://$BUCKET1/$OBJECT1 /data/cache/$CACHE_KEY/Library/
BUCKET2="game-ci-test-storage/$CACHE_KEY/lfs"
OBJECT2="$(aws s3 ls $BUCKET2 --recursive | sort | tail -n 1 | awk '{print $4}')"
aws s3 cp s3://$BUCKET2/$OBJECT2 /data/cache/$CACHE_KEY/lfs/
@ -5730,7 +5730,7 @@ class Docker {
${entrypointBash ? `--entrypoint ${commandPrefix}` : ``} \
${image} \
${entrypointBash ? `-c` : `${commandPrefix} -c`} \
"${overrideCommands !== '' ? overrideCommands : `/entrypoint.sh`}"`;
\\"${overrideCommands !== '' ? overrideCommands : `/entrypoint.sh`}\\"`;
}
static getWindowsCommand(image, parameters) {
const { workspace, actionFolder, unitySerial, gitPrivateToken } = parameters;

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -74,9 +74,9 @@ export class CloudRunnerCustomSteps {
aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID --profile default
aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY --profile default
aws configure set region $AWS_DEFAULT_REGION --profile default
BUCKET1="game-ci-test-storage/$CACHE_KEY/library"
BUCKET1="game-ci-test-storage/$CACHE_KEY/Library"
OBJECT1="$(aws s3 ls $BUCKET1 --recursive | sort | tail -n 1 | awk '{print $4}')"
aws s3 cp s3://$BUCKET1/$OBJECT1 /data/cache/$CACHE_KEY/library/
aws s3 cp s3://$BUCKET1/$OBJECT1 /data/cache/$CACHE_KEY/Library/
BUCKET2="game-ci-test-storage/$CACHE_KEY/lfs"
OBJECT2="$(aws s3 ls $BUCKET2 --recursive | sort | tail -n 1 | awk '{print $4}')"
aws s3 cp s3://$BUCKET2/$OBJECT2 /data/cache/$CACHE_KEY/lfs/

View File

@ -63,7 +63,7 @@ class Docker {
${entrypointBash ? `--entrypoint ${commandPrefix}` : ``} \
${image} \
${entrypointBash ? `-c` : `${commandPrefix} -c`} \
"${overrideCommands !== '' ? overrideCommands : `/entrypoint.sh`}"`;
\\"${overrideCommands !== '' ? overrideCommands : `/entrypoint.sh`}\\"`;
}
static getWindowsCommand(image: any, parameters: any): string {