| root | Root directory containing build definition sources (build.sbt, build.mill, etc.) If the sbt or mill build definition files are in a sub-directory, pass the path to this sub-directory here.
| no | . |
| path | Override for the path of the coursier cache. By default, the coursier cache is assumed to be in the default OS-dependent location. Set this input to override that. Note that this action will also set COURSIER_CACHE if an override is specified, so that you don't have to set it yourself.
| no | "" |
| job | Job name, to be used in the cache key, so that each job has its own cache.
| no | ${{ github.job }} |
| matrix | Matrix values, when using the matrix strategy. When using build matrices for more than the OS (for Scala versions, JDKs, test suites, …), pass the matrix values here, with `matrix: -dollar-{{ toJson(matrix) }}`. The matrix instance is hashed, and added to the cache key, so that each matrix instance has its own cache, and those caches don't collide.
| no | ${{ toJson(matrix) }} |
| extraFiles | Extra files to take into account in the cache key. By default, sbt build definition files (*.sbt, project/**.{scala,sbt}, project/build.properties) and mill build definition files (*.mill, ./mill) are hashed to uniquely identify the cached data. Upon cache restoration, if an exact match is found, the cache is not saved again at the end of the job. In case of no exact match, it is assumed new files may have been fetched; the previous cache for the current OS, if any, is restored, but a new cache is persisted with a new key at the end of the job. To take into account extra files in the cache key, pass via extraFiles either - a single path as a string - multiple paths in a JSON array, encoded in a string Blobs are accepted (processed by [@actions/glob](https://www.npmjs.com/package/@actions/glob)).
| no | "" |
| extraKey | Extra value to be appended to the coursier cache key. See extraFiles for more details.
| no | "" |
| extraHashedContent | Extra content to take into account in the cache key. See extraFiles for more details. The content of extraHashedContent is taken into account in the hash for the coursier cache key.
| no | "" |
| extraSbtFiles | Extra sbt files to take into account in the sbt cache key. Same format as extraFiles.
| no | "" |
| extraSbtKey | Extra value to be appended to the sbt cache key. See extraFiles for more details.
| no | "" |
| extraSbtHashedContent | Extra content to take into account in the sbt cache key. Same format as extraHashedContent.
| no | "" |
| extraMillFiles | Extra mill files to take into account in the mill cache key. Same format as extraFiles.
| no | "" |
| extraMillKey | Extra value to be appended to the mill cache key. See extraFiles for more details.
| no | "" |
| extraMillHashedContent | Extra content to take into account in the mill cache key. Same format as extraHashedContent.
| no | "" |
| ammoniteScripts | Ammonite scripts to take into account in the Ammonite cache key. Same format as extraFiles.
| no | "" |
| extraAmmoniteKey | Extra value to be appended to the Ammonite cache key. See extraFiles for more details.
| no | "" |
| extraAmmoniteHashedContent | Extra content to take into account in the Ammonite cache key. Same format as extraHashedContent.
| no | "" |
| ignoreJob | Set 'true' if you don't want to use a job id as part of cache key.
| no | false |
| ignoreMatrix | Set 'true' if you don't want to use a matrix jobs as part of cache key.
| no | false |
| ignoreAmmonite | Set 'true' to skip saving and restoring the Ammonite cache, regardless of whether the repository contains .sc scripts.
| no | false |
| disableFallback | Set 'true' to disable falling back to a less specific cache key when there is no exact cache hit. By default, if no exact cache match is found, the action will restore from a more general cache key (e.g. from a different job or build configuration). Disabling this prevents unintended cache sharing across jobs or matrix instances that have different dependency sets.
| no | false |