Bump actions/setup-java from 1 to 2.1.0 by dependabot[bot] · Pull Request #157 · codehaus-plexus/plexus-utils
Bumps actions/setup-java from 1 to 2.1.0.
Release notes
Sourced from actions/setup-java's releases.
v2.1.0
Add support for Adopt OpenJDK OpenJ9:
Supported distributions
Currently, the following distributions are supported:
Keyword Distribution Official site License zuluZulu OpenJDK Link Link adoptoradopt-hotspotAdopt OpenJDK Hotspot Link Link adopt-openj9Adopt OpenJDK OpenJ9 Link Link v2.0.0
The major release actions/setup-java@v2
See more details in README file.
This action provides the following functionality for GitHub Actions runners:
- Downloading and setting up a requested version of Java. See Usage for a list of supported distributions
- Extracting and caching custom version of Java from a local file
- Configuring runner for publishing using Apache Maven
- Configuring runner for publishing using Gradle
- Configuring runner for using GPG private key
- Registering problem matchers for error output
V2 vs V1
- V2 supports custom distributions and provides support for Zulu OpenJDK and Adopt OpenJDK out of the box. V1 supports only Zulu OpenJDK
- V2 requires you to specify distribution along with the version. V1 defaults to Zulu OpenJDK, only version input is required. Follow the migration guide to switch from V1 to V2
Usage
Inputs
java-versionanddistributionare mandatory. See Supported distributions section for a list of available options.Basic
Adopt OpenJDK
steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v2 with: distribution: 'adopt' # See 'Supported distributions' for available options java-version: '11' - run: java -cp java HelloWorldAppZulu OpenJDK
steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v2 with: distribution: 'zulu' # See 'Supported distributions' for available options java-version: '11' </tr></table>
... (truncated)
Commits
d9126d7Bump hosted-git-info from 2.8.8 to 2.8.9 (#178)53ac717Improve README and advanced usage guide (#174)cbc183bAdded 'adopt-hotspot' and 'adopt-openj9' (#155)0443912Fix typo in documentation "jdkfile" (#167)56b2808Fix typo on distribution "jdkfile" (#163)00401c4add cron for e2e tests, twice a day (#162)1e063f2Fix navigation issue of supported distributions (#153)8764a52Rename v2-preview to v2 in docs and tests (#151)b53500dMerge "v2-preview" branch into "main" (#150)ebb424fBeatify "main" warning about breaking changes (#144)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)