Files
Raptor/.github/actions/restore-raptor-build-cache/action.yml
2026-03-23 19:43:50 +01:00

27 lines
715 B
YAML

name: Restore Raptor Build Cache
description: Restore the cached Raptor build directory for incremental builds.
inputs:
key:
description: Exact cache key to restore.
required: true
restore-keys:
description: Prefixes used to restore the most recent compatible cache.
required: false
outputs:
cache-hit:
description: Whether the exact cache key was restored.
value: ${{ steps.restore-raptor-build-cache.outputs.cache-hit }}
runs:
using: composite
steps:
- name: Restore Raptor Build Cache
id: restore-raptor-build-cache
uses: actions/cache/restore@v4
with:
path: build
key: ${{ inputs.key }}
restore-keys: ${{ inputs.restore-keys }}