Skip to content

Commit f2772fc

Browse files
committed
fix
1 parent d6207a8 commit f2772fc

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
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:
@@ -22,3 +22,9 @@ jobs:
2222

2323
- name: Build with Maven
2424
run: mvn 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)