Log to google for GCP_LOGGING

pull/310/head
Frostebite 2022-01-02 03:16:26 +00:00
parent 112b0f72e7
commit b26488af8e
4 changed files with 9 additions and 5 deletions

View File

@ -108,7 +108,7 @@ jobs:
- name: awsDefaultRegion
value: eu-west-2
- run: |
aws s3 cp s3://game-ci-test-storage/${{ steps.aws-fargate-unity-build.outputs.BRANCH }}/${{ steps.aws-fargate-unity-build.outputs.BUILD_GUID }}.zip .
aws s3 cp s3://game-ci-test-storage/${{ steps.aws-fargate-unity-build.outputs.BRANCH }}/${{ steps.aws-fargate-unity-build.outputs.BUILD_GUID }}.zip .${{ steps.aws-fargate-unity-build.outputs.BUILD_GUID }}.zip
ls
###########################
# Upload #
@ -117,5 +117,5 @@ jobs:
- uses: actions/upload-artifact@v2
with:
name: AWS Build (${{ matrix.targetPlatform }})
path: ${{ matrix.targetPlatform }}.zip
path: ${{ steps.aws-fargate-unity-build.outputs.BUILD_GUID }}.zip
retention-days: 14

2
dist/index.js vendored
View File

@ -829,7 +829,7 @@ class SetupCloudRunnerRepository {
}
yield caching_1.Caching.PullFromCache(cloud_runner_state_1.CloudRunnerState.lfsCacheFolderFull, cloud_runner_state_1.CloudRunnerState.lfsDirectory, `${lfsHashes.lfsGuid}.zip`);
yield SetupCloudRunnerRepository.pullLatestLFS();
yield caching_1.Caching.PushToCache(cloud_runner_state_1.CloudRunnerState.lfsCacheFolderFull, cloud_runner_state_1.CloudRunnerState.lfsDirectory, lfsHashes.lfsGuid);
yield caching_1.Caching.PushToCache(cloud_runner_state_1.CloudRunnerState.lfsCacheFolderFull, cloud_runner_state_1.CloudRunnerState.lfsDirectory, `${lfsHashes.lfsGuid}.zip`);
yield caching_1.Caching.PullFromCache(cloud_runner_state_1.CloudRunnerState.libraryCacheFolderFull, cloud_runner_state_1.CloudRunnerState.libraryFolderFull);
caching_1.Caching.handleCachePurging();
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -22,7 +22,11 @@ export class SetupCloudRunnerRepository {
`${lfsHashes.lfsGuid}.zip`,
);
await SetupCloudRunnerRepository.pullLatestLFS();
await Caching.PushToCache(CloudRunnerState.lfsCacheFolderFull, CloudRunnerState.lfsDirectory, lfsHashes.lfsGuid);
await Caching.PushToCache(
CloudRunnerState.lfsCacheFolderFull,
CloudRunnerState.lfsDirectory,
`${lfsHashes.lfsGuid}.zip`,
);
await Caching.PullFromCache(CloudRunnerState.libraryCacheFolderFull, CloudRunnerState.libraryFolderFull);
Caching.handleCachePurging();