File tree Expand file tree Collapse file tree 1 file changed +23
-9
lines changed Expand file tree Collapse file tree 1 file changed +23
-9
lines changed Original file line number Diff line number Diff line change 10
10
branches : [ main ]
11
11
12
12
jobs :
13
- build :
13
+ build-linux :
14
+ name : build-linux
14
15
15
16
runs-on : ubuntu-latest
16
17
17
18
steps :
18
- - uses : actions/checkout@v2
19
+ - uses : actions/checkout@v3
19
20
with :
20
21
fetch-depth : 0
21
22
- name : Set up JDK 11
22
- uses : actions/setup-java@v2
23
+ uses : actions/setup-java@v3
23
24
with :
24
25
distribution : ' temurin'
25
26
java-version : ' 11'
26
27
cache : ' gradle'
27
28
- name : Cache SonarCloud packages
28
- uses : actions/cache@v1
29
+ uses : actions/cache@v3
29
30
with :
30
31
path : ~/.sonar/cache
31
32
key : ${{ runner.os }}-sonar
32
33
restore-keys : ${{ runner.os }}-sonar
33
- - uses : actions/cache@v1
34
- with :
35
- path : ~/.gradle/caches
36
- key : ${{ runner.os }}-gradle
37
- restore-keys : ${{ runner.os }}-gradle
38
34
- name : Build with Gradle
39
35
env :
40
36
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44
40
with :
45
41
file : ./**/build/reports/jacoco/test/jacocoTestReport.xml
46
42
name : codecov
43
+
44
+ build-windows :
45
+ name : build-windows
46
+
47
+ runs-on : windows-latest
48
+
49
+ steps :
50
+ - uses : actions/checkout@v3
51
+ with :
52
+ fetch-depth : 0
53
+ - name : Set up JDK 11
54
+ uses : actions/setup-java@v3
55
+ with :
56
+ distribution : ' temurin'
57
+ java-version : ' 11'
58
+ cache : ' gradle'
59
+ - name : Build with Gradle
60
+ run : ./gradlew test --no-daemon
You can’t perform that action at this time.
0 commit comments