-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
40 lines (39 loc) · 902 Bytes
/
win.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
name: Build and Test Snapshot (Windows)
on:
push:
branches:
- master
- "3.0"
- "2.17"
paths-ignore:
- "README.md"
- "release-notes/*"
pull_request:
branches:
- master
- "3.0"
- "2.17"
paths-ignore:
- "README.md"
- "release-notes/*"
permissions:
contents: read
jobs:
build:
runs-on: 'windows-2022'
strategy:
fail-fast: false
matrix:
java_version: ['8']
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Set up JDK
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
distribution: 'temurin'
java-version: ${{ matrix.java_version }}
cache: 'maven'
- name: Build
run: cmd /c "mvnw.cmd -B -ff -ntp clean verify"