DeepSpeech/.github/actions/get_cache_key
2021-03-25 11:01:29 +01:00
..
action.yml GitHub Actions for macOS 2021-03-25 11:01:29 +01:00
README.md GitHub Actions for macOS 2021-03-25 11:01:29 +01:00

GitHub Action to compute cache key

It is intended to work in harmony with check_artifact_exists:

  • compute a stable cache key
  • as simple to use as possible (less parameters)

It will expect to be ran in a GitHub Action job that follows SUBMODULE_FLAVOR-PLATFORM:

  • it will use the SUBMODULE part to check what is the current SHA1 of this git submodule.
  • the FLAVOR allows to distringuish e.g., opt/dbg builds
  • the PLATFORM permits defining an os/arch couple

It allows for an extras field for extensive customization, like forcing a re-build.