From 30be1cf59aec0b58d32f0eb12305372647970aee Mon Sep 17 00:00:00 2001 From: Frostebite Date: Sun, 2 Jan 2022 20:26:19 +0000 Subject: [PATCH] Caching cleanup --- .github/workflows/cloud-runner-aws-pipeline.yml | 3 ++- .github/workflows/cloud-runner-k8s-pipeline.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cloud-runner-aws-pipeline.yml b/.github/workflows/cloud-runner-aws-pipeline.yml index 6e793806..0a150ae1 100644 --- a/.github/workflows/cloud-runner-aws-pipeline.yml +++ b/.github/workflows/cloud-runner-aws-pipeline.yml @@ -77,7 +77,8 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: eu-west-2 DEBUG: true - INIT_HOOK: touch /cloud-runner-logs && tail -f /cloud-runner-logs | xargs -I{} gcloud logging write game-ci "{}" + GCP_LOG_FILE: $HOME/cloud-runner-logs + INIT_HOOK: touch $GCP_LOG_FILE && tail -f $GCP_LOG_FILE | xargs -I{} gcloud logging write game-ci "{}" with: cloudRunnerCluster: aws versioning: None diff --git a/.github/workflows/cloud-runner-k8s-pipeline.yml b/.github/workflows/cloud-runner-k8s-pipeline.yml index f4fcc37c..352a4d97 100644 --- a/.github/workflows/cloud-runner-k8s-pipeline.yml +++ b/.github/workflows/cloud-runner-k8s-pipeline.yml @@ -98,7 +98,8 @@ jobs: env: CloudRunnerBranch: remote-builder/unified-providers DEBUG: true - INIT_HOOK: touch /cloud-runner-logs && tail -f /cloud-runner-logs | xargs -I{} gcloud logging write game-ci "{}" + GCP_LOG_FILE: $HOME/cloud-runner-logs + INIT_HOOK: touch $GCP_LOG_FILE && tail -f $GCP_LOG_FILE | xargs -I{} gcloud logging write game-ci "{}" with: cloudRunnerCluster: k8s UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}