Skip to content

Commit 05b9e39

Browse files
authored
Updates the sbt cache docs in the README (actions#327)
1 parent 860f600 commit 05b9e39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Currently, the following distributions are supported:
7070
The action has a built-in functionality for caching and restoring dependencies. It uses [actions/cache](https://github.com/actions/cache) under hood for caching dependencies but requires less configuration settings. Supported package managers are gradle, maven and sbt. The format of the used cache key is `setup-java-${{ platform }}-${{ packageManager }}-${{ fileHash }}`, where the hash is based on the following files:
7171
- gradle: `**/*.gradle*`, `**/gradle-wrapper.properties`
7272
- maven: `**/pom.xml`
73-
- sbt: `**/build.sbt`
73+
- sbt: all sbt build definition files `**/*.sbt`, `**/project/build.properties`, `**/project/**.{scala,sbt}`
7474

7575
The workflow output `cache-hit` is set to indicate if an exact match was found for the key [as actions/cache does](https://github.com/actions/cache/tree/main#outputs).
7676

0 commit comments

Comments
 (0)