mirror of
https://github.com/actions/setup-java.git
synced 2025-07-18 21:35:14 +00:00
github token accept through environment variable
This commit is contained in:
parent
6992528a74
commit
4c9e711992
5 changed files with 7 additions and 12 deletions
|
@ -18,11 +18,6 @@ The `setup-java` action provides the following functionality for GitHub Actions
|
|||
|
||||
This action allows you to work with Java and Scala projects.
|
||||
|
||||
## V2 vs V1
|
||||
|
||||
- V2 supports custom distributions and provides support for Azul Zulu OpenJDK, Eclipse Temurin and AdoptOpenJDK out of the box. V1 supports only Azul Zulu OpenJDK.
|
||||
- V2 requires you to specify distribution along with the version. V1 defaults to Azul Zulu OpenJDK, only version input is required. Follow [the migration guide](docs/switching-to-v2.md) to switch from V1 to V2.
|
||||
|
||||
## Usage
|
||||
|
||||
- `java-version`: The Java version that is going to be set up. Takes a whole or [semver](#supported-version-syntax) Java version. If not specified, the action will expect `java-version-file` input to be specified.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue