Skip to content

Commit 749a67a

Browse files
author
jantje
committed
2 parents c1b2015 + b7dca96 commit 749a67a

File tree

2 files changed

+28
-3
lines changed

2 files changed

+28
-3
lines changed

.github/workflows/maven.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# This workflow will build a Java project with Maven
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3+
4+
name: Java CI with Maven
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
pull_request:
10+
branches: [ master ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Set up JDK 11
20+
uses: actions/setup-java@v2
21+
with:
22+
java-version: '11'
23+
distribution: 'adopt'
24+
- name: Build with Maven
25+
run: mvn --no-transfer-progress verify -Pall,sloeber_release,NOSDK -Dtest=NightlyJenkins

io.sloeber.parent/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<packaging>pom</packaging>
1010

1111
<properties>
12-
<tycho.version>2.0.0</tycho.version>
12+
<tycho.version>2.3.0</tycho.version>
1313
<built.repo.dir>${project.build.directory}/repo</built.repo.dir>
1414
<maven.compiler.source>11</maven.compiler.source>
1515
<maven.compiler.target>11</maven.compiler.target>
@@ -60,8 +60,8 @@
6060
<configuration>
6161
<debug>true</debug>
6262
<encoding>UTF-8</encoding>
63-
<source>1.8</source>
64-
<target>1.8</target>
63+
<source>11</source>
64+
<target>11</target>
6565
</configuration>
6666
</plugin>
6767

0 commit comments

Comments
 (0)