File tree Expand file tree Collapse file tree 5 files changed +11
-12
lines changed Expand file tree Collapse file tree 5 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -24,22 +24,18 @@ jobs:
24
24
strategy :
25
25
matrix :
26
26
os : [ubuntu-latest]
27
- java : [8, 11, 15, 16-ea]
27
+ java : [8, 11, 16, 17-ea]
28
+ distribution : ['adopt']
28
29
fail-fast : false
29
30
max-parallel : 4
30
31
name : Test JDK ${{ matrix.java }}, ${{ matrix.os }}
31
32
32
33
steps :
33
34
- uses : actions/checkout@v2
34
35
- name : Set up JDK
35
- uses : actions/setup-java@v1
36
+ uses : actions/setup-java@v2
36
37
with :
37
38
java-version : ${{ matrix.java }}
39
+ distribution : ${{ matrix.distribution }}
38
40
- name : Test with Maven
39
- if : matrix.java != '16-ea'
40
41
run : ./mvnw test -B -D"license.skip=true"
41
- - name : Test with Maven
42
- if : matrix.java == '16-ea'
43
- run : ./mvnw test -B -D"license.skip=true"
44
- env :
45
- MAVEN_OPTS : --add-opens java.base/java.util=ALL-UNNAMED
Original file line number Diff line number Diff line change 25
25
steps :
26
26
- uses : actions/checkout@v2
27
27
- name : Set up JDK
28
- uses : actions/setup-java@v1
28
+ uses : actions/setup-java@v2
29
29
with :
30
30
java-version : 8
31
+ distribution : adopt
31
32
- name : Report Coverage to Coveralls for Pull Requests
32
33
if : github.event_name == 'pull_request'
33
34
run : ./mvnw test jacoco:report coveralls:report -q -Dlicense.skip=true -DrepoToken=$GITHUB_TOKEN -DserviceName=github -DpullRequest=$PR_NUMBER
Original file line number Diff line number Diff line change 31
31
# Disabling shallow clone is recommended for improving relevancy of reporting
32
32
fetch-depth : 0
33
33
- name : Set up JDK
34
- uses : actions/setup-java@v1
34
+ uses : actions/setup-java@v2
35
35
with :
36
36
java-version : 11
37
+ distribution : adopt
37
38
- name : Analyze with SonarCloud
38
39
run : ./mvnw verify jacoco:report sonar:sonar -B -Dsonar.projectKey=mybatis_mybatis-dynamic-sql -Dsonar.organization=mybatis -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN -Dlicense.skip=true
39
40
env :
Original file line number Diff line number Diff line change 28
28
steps :
29
29
- uses : actions/checkout@v2
30
30
- name : Set up JDK
31
- uses : actions/setup-java@v1
31
+ uses : actions/setup-java@v2
32
32
with :
33
33
java-version : 11
34
+ distribution : adopt
34
35
- name : Deploy to Sonatype
35
36
run : ./mvnw deploy -DskipTests -B --settings ./.mvn/settings.xml -Dlicense.skip=true
36
37
env :
Original file line number Diff line number Diff line change 1
- distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3 /apache-maven-3.6.3 -bin.zip
1
+ distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.1 /apache-maven-3.8.1 -bin.zip
2
2
wrapperUrl =https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar
You can’t perform that action at this time.
0 commit comments