virtualx-engine/.github/actions/godot-cache-save/action.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
547 B
YAML
Raw Normal View History

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 }}
scons-cache:
description: The SCons cache path.
2024-07-08 17:41:20 +02:00
default: ${{ github.workspace }}/.scons-cache/
runs:
2024-07-08 17:41:20 +02:00
using: composite
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 }}