action.yml 547 B

12345678910111213141516171819
  1. name: Save Godot build cache
  2. description: Save Godot build cache.
  3. inputs:
  4. cache-name:
  5. description: The cache base name (job name by default).
  6. default: ${{ github.job }}
  7. scons-cache:
  8. description: The SCons cache path.
  9. default: ${{ github.workspace }}/.scons_cache/
  10. runs:
  11. using: composite
  12. steps:
  13. - name: Save SCons cache directory
  14. uses: actions/cache/save@v4
  15. with:
  16. path: ${{ inputs.scons-cache }}
  17. key: ${{ inputs.cache-name }}-${{ env.GODOT_BASE_BRANCH }}-${{ github.ref }}-${{ github.sha }}