Skip to content

Commit

Permalink
workaround kotlin issue with Java 16 (https://youtrack.jetbrains.com/…
Browse files Browse the repository at this point in the history
  • Loading branch information
cescoffier committed Mar 17, 2021
1 parent 1d88054 commit 72a5727
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
strategy:
matrix:
java: [
{ 'version': '8', 'source': 'releases' },
{ 'version': '11', 'source': 'releases' },
{ 'version': '15', 'source': 'releases' },
{ 'version': '16', 'source': 'nightly' }
{ 'version': '8', 'source': 'releases', opts: '' },
{ 'version': '11', 'source': 'releases', opts: '' },
{ 'version': '15', 'source': 'releases', opts: '' },
{ 'version': '16', 'source': 'nightly', 'opts': '--illegal-access=permit' } # required for kotlin on java 16
]
name: Build with Java ${{ matrix.java.version }}
steps:
Expand All @@ -27,6 +27,8 @@ jobs:
version: ${{ matrix.java.version }}
source: ${{ matrix.java.source }}
- name: Build with Maven
env:
MAVEN_OPTS: ${{ matrix.java.opts }}
run: mvn -B clean verify -Pcoverage
- name: Codecov
uses: codecov/[email protected]
Expand Down

0 comments on commit 72a5727

Please sign in to comment.