Skip to content

Commit 2a3361b

Browse files
committed
Revert "Remove Site CI check"
This reverts commit e317813.
1 parent cbd89d7 commit 2a3361b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/maven-build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,28 @@ jobs:
3232
env:
3333
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
3434
run: mvn -B clean install -DskipTests --file pom.xml
35+
site:
36+
name: site (Java ${{ matrix.java }})
37+
runs-on: ubuntu-latest
38+
strategy:
39+
fail-fast: false
40+
matrix:
41+
java: [ 8, 11 ]
42+
steps:
43+
- uses: actions/checkout@v2
44+
- name: Set up JDK
45+
uses: actions/setup-java@v2
46+
with:
47+
java-version: ${{ matrix.java }}
48+
distribution: 'adopt'
49+
- uses: actions/[email protected]
50+
with:
51+
path: ~/.m2/repository
52+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
53+
restore-keys: |
54+
${{ runner.os }}-maven-
55+
- name: Maven Site
56+
run: mvn -B clean site -D enable-ci --file pom.xml
3557
test:
3658
name: test (${{ matrix.os }}, Java ${{ matrix.java }})
3759
runs-on: ${{ matrix.os }}-latest

0 commit comments

Comments
 (0)