forked from apache/incubator-kie-drools
-
Notifications
You must be signed in to change notification settings - Fork 33
33 lines (31 loc) · 1.06 KB
/
pr-drools-docs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Drools Docs
on:
pull_request:
paths:
- 'drools-docs/**'
- '.github/workflows/drools-docs-pr.yml'
jobs:
drools-build:
concurrency:
group: pr-drools_docs_${{ matrix.os }}_${{ matrix.java-version }}_${{ matrix.maven-version }}_${{ github.head_ref }}
cancel-in-progress: true
timeout-minutes: 120
strategy:
matrix:
os: [ubuntu-latest]
java-version: [17]
maven-version: ['3.9.6']
fail-fast: false
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} / Java-${{ matrix.java-version }} / Maven-${{ matrix.maven-version }}
steps:
- uses: actions/checkout@v3
- name: Java and Maven Setup
uses: kiegroup/kie-ci/.ci/actions/maven@main
with:
java-version: ${{ matrix.java-version }}
maven-version: ${{ matrix.maven-version }}
cache-key-prefix: ${{ runner.os }}-${{ matrix.java-version }}-maven${{ matrix.maven-version }}
allow-snapshots: true
- name: Build with Maven
run: mvn -B clean install --file drools-docs/pom.xml