summaryrefslogtreecommitdiffstats
path: root/.github/actions/godot-cache-save/action.yml
blob: 42aa836406fc72494f3387c7317d623f65a9d3de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: Save Godot build cache
description: Save Godot build cache.
inputs:
  cache-name:
    description: The cache base name (job name by default).
    default: ${{ github.job }}
  scons-cache:
    description: The SCons cache path.
    default: ${{ github.workspace }}/.scons_cache/

runs:
  using: composite
  steps:
    - name: Save SCons cache directory
      uses: actions/cache/save@v4
      with:
        path: ${{ inputs.scons-cache }}
        key: ${{ inputs.cache-name }}-${{ env.GODOT_BASE_BRANCH }}-${{ github.ref }}-${{ github.sha }}