fixing error handling

pull/310/head
Frostebite 2022-01-03 03:54:06 +00:00
parent 09d225993b
commit c31e3d7664
2 changed files with 2 additions and 1 deletions

View File

@ -54,6 +54,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12.x
- run: touch $GCP_LOG_FILE && tail -f $GCP_LOG_FILE | xargs -d '\n' -I{} gcloud logging write game-ci "{}" &
- run: yarn
- run: yarn run cli --help
- run: yarn run test-i-aws
@ -78,7 +79,6 @@ jobs:
AWS_DEFAULT_REGION: eu-west-2
DEBUG: true
GCP_LOG_FILE: ${{ github.workspace }}/cloud-runner-logs
INIT_HOOK: touch $GCP_LOG_FILE && tail -f $GCP_LOG_FILE | xargs -d '\n' -I{} gcloud logging write game-ci "{}"
with:
cloudRunnerCluster: aws
versioning: None

View File

@ -62,6 +62,7 @@ export class SetupCloudRunnerRepository {
}
private static async pullLatestLFS() {
await CloudRunnerSystem.Run(`ls -lh ${CloudRunnerState.lfsDirectoryFull}/..`);
process.chdir(CloudRunnerState.repoPathFull);
await CloudRunnerSystem.Run(`git lfs pull`);
RemoteClientLogger.log(`pulled latest LFS files`);