Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
### What changes were proposed in this pull request? This PR aims to upgrade `setup-java` from `v1` to `v3`. `v3` has two breaking changes. 1. JDK distribution field is required 2. `1.8` is not accepted. We need to use `8` instead. ### Why are the changes needed? Currently, we are using `v1` which is too old and shows warnings like the following. - https://github.com/apache/orc/actions/runs/3871285820/jobs/6598946894 ``` Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ ``` The latest one is v3.9.0. We will use it. - https://github.com/actions/setup-java/releases/tag/v3.9.0 Note that Node.js is upgraded since v3.0. https://github.com/actions/setup-java/releases/tag/v3.0.0 > In scope of this release we changed version of the runtime Node.js for the setup-java action and updated package-lock.json file to v2. ### How was this patch tested? Manually check the GitHub Action logs. (cherry picked from commit ba146d7) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
- Loading branch information