setup-java
setup-java copied to clipboard
Set up your GitHub Actions workflow with a specific version of Java
**Description:** In the scope of this PR we are adding new templates for new Java distribution. **Check list:** - [ ] Mark if documentation changes are required. - [ ]...
This PR does not fully address #85; it **does not** allow the user to specify a list of servers as follows: ```yaml server-list: - server-id: value-of-server-id-1 server-username: SERVER_USERNAME_1 server-password: SERVER_PASSWORD_1...
Description: Add support for a new, optional "distro" property, and use the [Foojay Disco API](https://github.com/foojay2020/discoapi) to locate JDK/JRE binaries for the requested distro, such that any distro supported by Disco...
**Description:** Fix the bug about parsing dragonwell version **Related issue:** #642 **Check list:** - [ ] Mark if documentation changes are required. - [x] Mark if tests were added or...
**Description:** Sometimes the action fails with an error message like this (output from the github workflow): ``` Run actions/setup-java@v4 with: java-version: 21.0.1 distribution: microsoft java-package: jdk check-latest: false server-id: github...
**Description:** I am trying to use CRAC in GitHub Actions. With the following definition: ``` - name: Set up Java uses: actions/setup-java@v3 with: java-version: '17' java-package: 'jdk+crac' distribution: 'zulu' ```...
**Description:** GitHub has added the arm64 runner, so arch should be used as part of the cache key. Otherwise, if there are `macos-13` `macos-14` running at the same time, the...
**Description:** Dragonwell version parsing failed. Because Dragonwell adds a few more versions to its own version number based on the upstream OpenJDK, calling semver function directly will produce an incorrect...
**Description:** [email protected] redownloading jdk on every every job in a pipeline while executing on a self-hosted Linux runner (about 15min on every job). **Task version:** v4.2.0 **Platform:** - [x] Ubuntu...
Currently, setup-java requires `distribution` field. However, one can specify a distribution in `.java-version` thus the distribution input field can be redundant or even confusing when these two disagree. It'd be...