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 eaa308d
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 @@ -74,6 +79,7 @@ jobs:
-v $(pwd)/src:/build/src:ro \
-v $(pwd)/remote_ccache.conf:/build/ccache.conf:ro \
-v $(pwd)/artifacts:/build/artifacts:rw \
-e CCACHE_${{ inputs.recache && 'RECACHE' || 'NORECACHE' }}=1 \
--network engine-build \
--name builder \
ghcr.io/${{ github.repository_owner }}/recoil-build-${{ matrix.system }}:latest \
Expand Down

0 comments on commit eaa308d

Please sign in to comment.