Skip to content

Commit 7ee4d4f

Browse files
committed
fix
1 parent d6207a8 commit 7ee4d4f

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: CI
22

3-
on: [push]
3+
on: [push, pull_request]
44

55
jobs:
66
build:
@@ -21,4 +21,10 @@ jobs:
2121
cache: 'maven'
2222

2323
- name: Build with Maven
24-
run: mvn package
24+
run: mvn -B --no-transfer-progress package
25+
26+
- name: Verify jar compatibility
27+
uses: pivovarit/verify-jar-action@v1.2.0
28+
with:
29+
directory: 'java-jpms-jdk8/target'
30+
java-version: '8'

java-jpms-jdk8/pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
<groupId>org.apache.maven.plugins</groupId>
1919
<artifactId>maven-compiler-plugin</artifactId>
2020
<configuration>
21-
<source>8</source>
22-
<target>8</target>
21+
<release>8</release>
2322
</configuration>
2423
</plugin>
2524
<plugin>

0 commit comments

Comments
 (0)