mirror of
https://github.com/actions/setup-java.git
synced 2024-08-16 10:19:51 +02:00
Eclipse Temurin instead of Adopt OpenJDK (#398)
This commit is contained in:
parent
bf2f02c4a7
commit
7db6b4554c
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ See the help docs on [Publishing a Package with Gradle](https://help.github.com/
|
|||
## Hosted Tool Cache
|
||||
GitHub Hosted Runners have a tool cache that comes with some Java versions pre-installed. This tool cache helps speed up runs and tool setup by not requiring any new downloads. There is an environment variable called `RUNNER_TOOL_CACHE` on each runner that describes the location of this tools cache and this is where you can find the pre-installed versions of Java. `setup-java` works by taking a specific version of Java in this tool cache and adding it to PATH if the version, architecture and distribution match.
|
||||
|
||||
Currently, LTS versions of Adopt OpenJDK (`adopt`) are cached on the GitHub Hosted Runners.
|
||||
Currently, LTS versions of Eclipse Temurin (`temurin`) are cached on the GitHub Hosted Runners.
|
||||
|
||||
The tools cache gets updated on a weekly basis. For information regarding locally cached versions of Java on GitHub hosted runners, check out [GitHub Actions Virtual Environments](https://github.com/actions/virtual-environments).
|
||||
|
||||
|
|
Loading…
Reference in a new issue