-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 1.07 KB
/
test-main.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
name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
cache: maven
- name: run maven with default build profile
run: mvn --batch-mode --update-snapshots verify
- name: run maven with build profile for oxygen 23
run: mvn -Doxygen.version=23 --batch-mode --update-snapshots clean verify
- name: run maven with build profile for oxygen 24
run: mvn -Doxygen.version=24 --batch-mode --update-snapshots clean verify
- name: run maven with build profile for oxygen 25
run: mvn -Doxygen.version=25 --batch-mode --update-snapshots clean verify
- name: run maven with build profile for oxygen 26
run: mvn -Doxygen.version=26 --batch-mode --update-snapshots clean verify