-
Notifications
You must be signed in to change notification settings - Fork 9
63 lines (54 loc) · 1.33 KB
/
integrate-docx4j.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# This workflow will build a Java project with Maven,
# and cache/restore any dependencies to improve the workflow execution time
# For more information see:
# https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Continuous Integration for Docx4J
on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '23 7 * * 1'
permissions:
pull-requests: read
jobs:
ci:
continue-on-error: true
name: Continuous Integration
strategy:
matrix:
os: [ ubuntu-latest ]
docx4j:
# - 11.1.0
# - 11.1.2
# - 11.1.3
# - 11.1.7
# - 11.1.8
# - 11.2.5
# - 11.2.8
# - 11.2.9
# - 11.3.2
# - 11.4.5
# - 11.4.6
# - 11.4.7
# - 11.4.8
- 11.4.9
- 11.4.10
- 11.4.11
runs-on: ${{ matrix.os }}
permissions:
actions: read
contents: read
security-events: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'temurin'
cache: 'maven'
- run: mvn -B -ntp test -Ddocx4j.version="${{ matrix.docx4j }}"