-
Notifications
You must be signed in to change notification settings - Fork 9
40 lines (37 loc) · 1.14 KB
/
maven-windows.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
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: OLCUT CI (Windows x86_64, Java SE 17, 21, 23)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
# test against supported LTS versions and latest
java: [ 21, 23 ]
name: OLCUT - Windows Java SE ${{ matrix.java }}
steps:
- uses: actions/checkout@v4
- name: Setup Java Development Kits built by Oracle
uses: oracle-actions/[email protected]
with:
release: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B package --file pom.xml
build-17:
runs-on: windows-latest
name: OLCUT - Windows Java SE 17
steps:
- uses: actions/checkout@v4
- name: Setup Oracle Java SE
uses: oracle-actions/[email protected]
with:
website: oracle.com
release: 17
version: 17.0.12
- name: Build with Java 17
run: mvn -B package --file pom.xml