pull/437/head
Frostebite 2022-10-15 23:37:03 +01:00
parent cfa09cbf3a
commit ed63d4fabe
3 changed files with 5 additions and 5 deletions

4
dist/index.js vendored
View File

@ -4446,10 +4446,10 @@ class CloudRunnerCustomSteps {
aws configure set region $AWS_DEFAULT_REGION --profile default
BUCKET1="game-ci-test-storage/cloud-runner-cache/$CACHE_KEY/Library"
OBJECT1="$(aws s3 ls $BUCKET1 | 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/ > /dev/null
BUCKET2="game-ci-test-storage/cloud-runner-cache/$CACHE_KEY/lfs"
OBJECT2="$(aws s3 ls $BUCKET2 | sort | tail -n 1 | awk '{print $4}')"
aws s3 cp s3://$BUCKET2/$OBJECT2 /data/cache/$CACHE_KEY/lfs/
aws s3 cp s3://$BUCKET2/$OBJECT2 /data/cache/$CACHE_KEY/lfs/ > /dev/null
secrets:
- name: awsAccessKeyId
value: ${process.env.AWS_ACCESS_KEY_ID || ``}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -74,10 +74,10 @@ export class CloudRunnerCustomSteps {
aws configure set region $AWS_DEFAULT_REGION --profile default
BUCKET1="game-ci-test-storage/cloud-runner-cache/$CACHE_KEY/Library"
OBJECT1="$(aws s3 ls $BUCKET1 | 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/ > /dev/null
BUCKET2="game-ci-test-storage/cloud-runner-cache/$CACHE_KEY/lfs"
OBJECT2="$(aws s3 ls $BUCKET2 | sort | tail -n 1 | awk '{print $4}')"
aws s3 cp s3://$BUCKET2/$OBJECT2 /data/cache/$CACHE_KEY/lfs/
aws s3 cp s3://$BUCKET2/$OBJECT2 /data/cache/$CACHE_KEY/lfs/ > /dev/null
secrets:
- name: awsAccessKeyId
value: ${process.env.AWS_ACCESS_KEY_ID || ``}