upgrade github java action

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891248 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2021-07-04 14:10:16 +00:00
parent 075d0d64bc
commit 2ee5e7d3f8
2 changed files with 6 additions and 2 deletions

View File

@ -19,7 +19,7 @@ jobs:
matrix:
os: [ubuntu-latest]
# for now verify JDK 8 and 11
java: [ 8, 11.0.x ]
java: [ '8', '11' ]
name: Java ${{ matrix.java }} build
steps:
@ -28,7 +28,9 @@ jobs:
- name: Setup java ${{ matrix.java }}
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: ${{ matrix.java }}
check-latest: true
- name: Set up Ant
id: setup-ant

View File

@ -20,7 +20,9 @@ jobs:
- name: Set up JDK 1.8
uses: actions/setup-java@v2
with:
java-version: 1.8
distribution: 'adopt'
java-version: '8'
check-latest: true
- name: Cache
uses: actions/cache@v2.1.3