-
Notifications
You must be signed in to change notification settings - Fork 178
41 lines (38 loc) · 1.13 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
41
# 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: Tribuo 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: Windows Java SE ${{ matrix.java }}
steps:
- uses: actions/checkout@v4
- name: Setup Oracle Java SE
uses: oracle-actions/[email protected]
with:
website: oracle.com
release: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B package --file pom.xml
build-17:
runs-on: windows-latest
name: 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