-
Notifications
You must be signed in to change notification settings - Fork 50
32 lines (30 loc) · 786 Bytes
/
ci.yml
File metadata and controls
32 lines (30 loc) · 786 Bytes
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
name: CI
on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
java-version: [17, 21, 25]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: liberica
java-package: jdk+fx # optional (jdk, jre, jdk+fx or jre+fx) - defaults to jdk
cache: maven
- name: Build with Maven
run: mvn -B test --file pom.xml
- name: Upload test logs on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-logs
path: target/surefire-reports/**