[MINOR][INFRA] Use java-version instead of version for GitHub Action
### What changes were proposed in this pull request? This PR use `java-version` instead of `version` for GitHub Action. More details:204b974cf4
ac25aeee3a
### Why are the changes needed? The `version` property will not be supported after October 1, 2019. ### Does this PR introduce any user-facing change? No ### How was this patch tested? N/A Closes #25866 from wangyum/java-version. Authored-by: Yuming Wang <yumwang@ebay.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
This commit is contained in:
parent
a23ad25ba4
commit
9e234a5434
2
.github/workflows/master.yml
vendored
2
.github/workflows/master.yml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
|||
- name: Set up JDK ${{ matrix.java }}
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
version: ${{ matrix.java }}
|
||||
java-version: ${{ matrix.java }}
|
||||
- name: Build with Maven
|
||||
run: |
|
||||
export MAVEN_OPTS="-Xmx2g -XX:ReservedCodeCacheSize=1g -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN"
|
||||
|
|
Loading…
Reference in a new issue