-
Notifications
You must be signed in to change notification settings - Fork 362
39 lines (38 loc) · 1.01 KB
/
windows-build.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
name: Build [Windows]
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: windows-2019
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
cache: 'gradle'
- name: Compilation
uses: gradle/gradle-build-action@v2
with:
arguments: classes
- name: Unit tests
uses: gradle/gradle-build-action@v2
with:
arguments: test
- name: Integration tests
uses: gradle/gradle-build-action@v2
with:
arguments: integrationTest
- name: Assemble artifacts
uses: gradle/gradle-build-action@v2
with:
arguments: assemble javadoc asciidoctorAllGuides
- name: Store artifact
uses: actions/upload-artifact@v2
with:
name: gradle-docker-plugin.jar
path: build/libs/*.jar