Skip to content

Commit

Permalink
Bump actions/setup-java from 1 to 2.1.0 (#161)
Browse files Browse the repository at this point in the history
* Bump actions/setup-java from 1 to 2.1.0

Bumps [actions/setup-java](https://github.com/actions/setup-java) from 1 to 2.1.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](actions/setup-java@v1...v2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

* fix setup java upgrade

Signed-off-by: olivier lamy <olamy@apache.org>

* not working with java16

Signed-off-by: olivier lamy <olamy@apache.org>

* minimum 1.9 for this it

Signed-off-by: olivier lamy <olamy@apache.org>

* cannot run this it with java16

Signed-off-by: olivier lamy <olamy@apache.org>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: olivier lamy <olamy@apache.org>
  • Loading branch information
dependabot[bot] and olamy committed Jun 10, 2021
1 parent e2c3dbd commit cee3f96
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/maven.yml
Expand Up @@ -25,7 +25,8 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
java: [8, 11]
java: [8, 11, 16]
jdk: [adopt, zulu]
fail-fast: false

runs-on: ${{ matrix.os }}
Expand All @@ -44,8 +45,9 @@ jobs:
maven-${{ matrix.os }}-
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2.1.0
with:
distribution: ${{ matrix.jdk }}
java-version: ${{ matrix.java }}

- name: Build with Maven
Expand Down
@@ -1,3 +1,4 @@
invoker.goals=verify
# this is where the method signature change happened
invoker.java.version = 1.9+
invoker.java.version = 1.9+,!16

Expand Up @@ -42,7 +42,7 @@
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<version>3.8.1</version>
<configuration>
<source>@mojo.java.target@</source>
<target>@mojo.java.target@</target>
Expand Down

0 comments on commit cee3f96

Please sign in to comment.