File tree 2 files changed +43
-67
lines changed
2 files changed +43
-67
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # BUILDCACHE_USER
2
+ # BUILDCACHE_PASS
3
+ # - rw access to buildcache.diffplug.com
4
+
5
+ on : [push, pull_request]
6
+ jobs :
7
+ testClasses :
8
+ name : spotlessCheck assemble testClasses
9
+ runs-on : ubuntu-latest
10
+ env :
11
+ buildcacheuser : ${{ secrets.BUILDCACHE_USER }}
12
+ buildcachepass : ${{ secrets.BUILDCACHE_PASS }}
13
+ steps :
14
+ - name : Checkout
15
+ uses : actions/checkout@v3
16
+ - name : Install JDK 11
17
+ uses : actions/setup-java@v3
18
+ with :
19
+ distribution : " temurin"
20
+ java-version : 11
21
+ cache : gradle
22
+ - name : Build project
23
+ run : ./gradlew spotlessCheck assemble testClasses --build-cache
24
+ test_windows :
25
+ needs : testClasses
26
+ name : test_windows
27
+ runs-on : windows-latest
28
+ strategy :
29
+ fail-fast : false
30
+ matrix :
31
+ java_version : [17]
32
+ distribution : ["temurin"]
33
+ steps :
34
+ - name : Checkout
35
+ uses : actions/checkout@v3
36
+ - name : Install JDK ${{ matrix.distribution }} ${{ matrix.java_version }}
37
+ uses : actions/setup-java@v3
38
+ with :
39
+ distribution : ${{ matrix.distribution }}
40
+ java-version : ${{ matrix.java_version }}
41
+ cache : gradle
42
+ - name : Build project
43
+ run : ./gradlew test --build-cache -PSPOTLESS_EXCLUDE_MAVEN=true
You can’t perform that action at this time.
0 commit comments