File tree 1 file changed +41
-0
lines changed
1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI Build
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ branches :
9
+ - main
10
+
11
+ jobs :
12
+ build :
13
+ name : Build Main Branch
14
+ runs-on : ubuntu-latest
15
+
16
+ steps :
17
+ - name : Checkout source code
18
+ uses : actions/checkout@v4
19
+
20
+ - name : Set up JDK 17
21
+ uses : actions/setup-java@v4
22
+ with :
23
+ java-version : ' 17'
24
+ distribution : ' temurin'
25
+ cache : maven
26
+
27
+ - name : Build Initial with Maven
28
+ working-directory : ./initial
29
+ run : ./mvnw --batch-mode clean package
30
+
31
+ - name : Build Initial with Gradle
32
+ working-directory : ./initial
33
+ run : ./gradlew build
34
+
35
+ - name : Build Complete with Maven
36
+ working-directory : ./complete
37
+ run : ./mvnw --batch-mode clean package -DskipTests
38
+
39
+ - name : Build Complete with Gradle
40
+ working-directory : ./complete
41
+ run : ./gradlew build -x test
You can’t perform that action at this time.
0 commit comments