diff --git a/.github/workflows/engine-build.yml b/.github/workflows/engine-build.yml index 56baaa6f5d..945a8a3c02 100644 --- a/.github/workflows/engine-build.yml +++ b/.github/workflows/engine-build.yml @@ -1,6 +1,11 @@ name: Build Engine on: workflow_dispatch: + inputs: + recache: + description: "Recache ccache build objects" + type: boolean + default: false schedule: - cron: "36 00 * * *" jobs: @@ -47,6 +52,7 @@ jobs: -e BAZEL_REMOTE_S3_BUCKET \ -e BAZEL_REMOTE_S3_ACCESS_KEY_ID \ -e BAZEL_REMOTE_S3_SECRET_ACCESS_KEY \ + -e CCACHE_${{ inputs.recache && 'RECACHE' || 'NORECACHE' }}=1 \ docker.io/buchgr/bazel-remote-cache:v2.4.4 \ --dir /data \ --s3.auth_method access_key \