Cache downloaded Java Toolchains

Due to limitations with the way extracted entries are defined, a separate entry
is defined for *nix and windows.

Fixes #33
This commit is contained in:
Daz DeBoer 2021-12-17 15:48:05 -07:00
parent c61f5d87b4
commit c157d0a332
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
2 changed files with 7 additions and 4 deletions

View file

@ -62,9 +62,11 @@ inputs:
[
["generated-gradle-jars", "caches/*/generated-gradle-jars/*.jar"],
["wrapper-zips", "wrapper/dists/*/*/*.zip"],
["dependencies", "caches/modules-*/files-*/*/*/*/*/"],
["instrumented-jars", "caches/jars-*/*/"],
["kotlin-dsl", "caches/*/kotlin-dsl/*/*/"]
["java-toolchains-win", "jdks/*.zip"],
["java-toolchains-nix", "jdks/*.tar.gz"],
["dependencies", "caches/modules-*/files-*/*/*/*/*"],
["instrumented-jars", "caches/jars-*/*"],
["kotlin-dsl", "caches/*/kotlin-dsl/*/*"]
]
outputs: