2024-07-13 15:50:30 +02:00
|
|
|
name: Save Godot build cache
|
|
|
|
description: Save Godot build cache.
|
|
|
|
inputs:
|
|
|
|
cache-name:
|
|
|
|
description: The cache base name (job name by default).
|
2024-07-08 17:41:20 +02:00
|
|
|
default: ${{ github.job }}
|
2024-07-13 15:50:30 +02:00
|
|
|
scons-cache:
|
|
|
|
description: The SCons cache path.
|
2024-07-08 17:41:20 +02:00
|
|
|
default: ${{ github.workspace }}/.scons-cache/
|
|
|
|
|
2024-07-13 15:50:30 +02:00
|
|
|
runs:
|
2024-07-08 17:41:20 +02:00
|
|
|
using: composite
|
2024-07-13 15:50:30 +02:00
|
|
|
steps:
|
|
|
|
- name: Save SCons cache directory
|
|
|
|
uses: actions/cache/save@v4
|
|
|
|
with:
|
2024-07-08 17:41:20 +02:00
|
|
|
path: ${{ inputs.scons-cache }}
|
|
|
|
key: ${{ inputs.cache-name }}-${{ env.GODOT_BASE_BRANCH }}-${{ github.ref }}-${{ github.sha }}
|