Skip to content

Commit

Permalink
Add option to recache build objects
Browse files Browse the repository at this point in the history
  • Loading branch information
p2004a committed Oct 6, 2024
1 parent fc83903 commit 4dbe2cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/engine-build.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit 4dbe2cc

Please sign in to comment.