-
Notifications
You must be signed in to change notification settings - Fork 17
41 lines (33 loc) · 1.05 KB
/
Default.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
name: Log4JNA Default Build
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
workflow_dispatch:
jobs:
build:
strategy:
matrix:
entry:
- { java: "8", distribution: "temurin" }
- { java: "11", distribution: "temurin" }
- { java: "11", distribution: "microsoft" }
- { java: "17", distribution: "temurin" }
- { java: "17", distribution: "microsoft" }
runs-on: "windows-2019"
name: Java ${{ matrix.entry.java }} ( ${{ matrix.entry.distribution }} )
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
# Configuring Developer Command Prompt for Microsoft Visual C++
- uses: ilammy/msvc-dev-cmd@v1
# Setup JDK
- uses: actions/setup-java@v3
with:
distribution: ${{ matrix.entry.distribution }}
java-version: ${{ matrix.entry.java }}
# Default Build
- run: mvn clean install -B