|
@@ -1,6 +1,6 @@
|
|
name: Build
|
|
name: Build
|
|
|
|
|
|
-on: [push]
|
|
|
|
|
|
+on: [push, pull_request]
|
|
|
|
|
|
jobs:
|
|
jobs:
|
|
build:
|
|
build:
|
|
@@ -8,6 +8,8 @@ jobs:
|
|
|
|
|
|
steps:
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/checkout@v3
|
|
|
|
+ - name: Install wkthtmltopdf
|
|
|
|
+ run: sudo apt-get install xvfb libfontconfig wkhtmltopdf
|
|
- name: Set up JDK 11
|
|
- name: Set up JDK 11
|
|
uses: actions/setup-java@v3
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
with:
|
|
@@ -15,4 +17,4 @@ jobs:
|
|
distribution: 'adopt'
|
|
distribution: 'adopt'
|
|
cache: maven
|
|
cache: maven
|
|
- name: Build with Maven
|
|
- name: Build with Maven
|
|
- run: mvn --batch-mode --update-snapshots package
|
|
|
|
|
|
+ run: mvn --batch-mode --update-snapshots verify
|