File tree Expand file tree Collapse file tree 2 files changed +31
-4
lines changed Expand file tree Collapse file tree 2 files changed +31
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : Build pull request
2
+
3
+ on :
4
+ pull_request :
5
+ branches : [ master ]
6
+ permissions :
7
+ contents : read
8
+
9
+ jobs :
10
+ build-java :
11
+ if : " !contains(github.event.head_commit.message, 'ci skip')"
12
+ runs-on : ubuntu-20.04
13
+ steps :
14
+
15
+ with :
16
+ fetch-depth : 0
17
+ submodules : ' recursive'
18
+
19
+ - name : Set up JDK 17
20
+ uses : actions/setup-java@v3
21
+ with :
22
+ distribution : ' zulu'
23
+ java-version : ' 17'
24
+
25
+ - name : Setup Gradle
26
+ uses : gradle/gradle-build-action@v2
27
+
28
+ - name : Build & test Java code
29
+ run : |
30
+ ./gradlew build
31
+ ./gradlew test
Original file line number Diff line number Diff line change @@ -6,10 +6,6 @@ sourceSets {
6
6
java {
7
7
srcDirs = [ " src/" ]
8
8
}
9
-
10
- resources {
11
- srcDirs = [ " src/**.*xml" ]
12
- }
13
9
}
14
10
15
11
test {
You can’t perform that action at this time.
0 commit comments