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 1010 branches : [ main ]
1111
1212jobs :
13- build :
13+ build-linux :
14+ name : build-linux
1415
1516 runs-on : ubuntu-latest
1617
1718 steps :
18- - uses : actions/checkout@v2
19+ - uses : actions/checkout@v3
1920 with :
2021 fetch-depth : 0
2122 - name : Set up JDK 11
22- uses : actions/setup-java@v2
23+ uses : actions/setup-java@v3
2324 with :
2425 distribution : ' temurin'
2526 java-version : ' 11'
2627 cache : ' gradle'
2728 - name : Cache SonarCloud packages
28- uses : actions/cache@v1
29+ uses : actions/cache@v3
2930 with :
3031 path : ~/.sonar/cache
3132 key : ${{ runner.os }}-sonar
3233 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
3834 - name : Build with Gradle
3935 env :
4036 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4440 with :
4541 file : ./**/build/reports/jacoco/test/jacocoTestReport.xml
4642 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