Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for libs.versions.toml in any directory #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions step/step.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ const stepId = "restore-gradle-cache"
// - `**/*.gradle*`: Gradle build files in any submodule, including ones written in Kotlin (*.gradle.kts)
// - `**/gradle-wrapper.properties`: contains exact Gradle version
// - `**/gradle.properties`: contains Gradle config values
// - `**/gradle/libs.versions.toml`: version catalog file, contains dependencies and their versions
// - `**/libs.versions.toml`: version catalog file, contains dependencies and their versions
var keys = []string{
`{{ .OS }}-{{ .Arch }}-gradle-cache-{{ checksum "**/*.gradle*" "**/gradle-wrapper.properties" "**/gradle.properties" "**/gradle/libs.versions.toml" }}`,
`{{ .OS }}-{{ .Arch }}-gradle-cache-{{ checksum "**/*.gradle*" "**/gradle-wrapper.properties" "**/gradle.properties" "**/libs.versions.toml" }}`,
`{{ .OS }}-{{ .Arch }}-gradle-cache-`,
}

Expand Down