action.yml 539 B

123456789101112131415161718
  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}}