From 05b9e395e10fae1bcd6ed34706c63035036fa3a4 Mon Sep 17 00:00:00 2001 From: Adam Fisher Date: Mon, 9 May 2022 08:30:21 +0100 Subject: [PATCH] Updates the sbt cache docs in the README (#327) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index df48820..0e8d744 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ Currently, the following distributions are supported: 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: - gradle: `**/*.gradle*`, `**/gradle-wrapper.properties` - maven: `**/pom.xml` -- sbt: `**/build.sbt` +- sbt: all sbt build definition files `**/*.sbt`, `**/project/build.properties`, `**/project/**.{scala,sbt}` 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).