diff options
author | PJ Fanning <fanningpj@apache.org> | 2021-07-04 14:10:16 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2021-07-04 14:10:16 +0000 |
commit | 2ee5e7d3f83cd338fc10073fc414c3f422709daf (patch) | |
tree | 61614c493c2b68ef3eb18db6d392241638626f2b /.github/workflows | |
parent | 075d0d64bce133cf381c13154f248ee220766035 (diff) | |
download | poi-2ee5e7d3f83cd338fc10073fc414c3f422709daf.tar.gz poi-2ee5e7d3f83cd338fc10073fc414c3f422709daf.zip |
upgrade github java action
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891248 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/test-ant.yml | 4 | ||||
-rw-r--r-- | .github/workflows/test-maven.yml | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/test-ant.yml b/.github/workflows/test-ant.yml index 5c0b8aef26..8a94e1c0ab 100644 --- a/.github/workflows/test-ant.yml +++ b/.github/workflows/test-ant.yml @@ -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 diff --git a/.github/workflows/test-maven.yml b/.github/workflows/test-maven.yml index 87c55871ca..75792f5205 100644 --- a/.github/workflows/test-maven.yml +++ b/.github/workflows/test-maven.yml @@ -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 |