File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ tests :
11+ name : Build and test
12+ runs-on : ubuntu-latest
13+ timeout-minutes : 5
14+
15+ steps :
16+ - name : Clone Repository
17+ uses : actions/checkout@v4
18+
19+ # - name: Validate Gradle Wrapper
20+ # uses: gradle/actions/wrapper-validation@v3
21+
22+ - name : Setup JDK 17
23+ uses : actions/setup-java@v4
24+ with :
25+ java-version : 17
26+ distribution : ' adopt'
27+ # For more info: https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#incompatibility-with-other-caching-mechanisms
28+ # cache: gradle
29+
30+ - name : Setup Gradle
31+ uses : gradle/actions/setup-gradle@v3
32+ with :
33+ validate-wrappers : true
34+ cache-disabled : false
35+
36+ - name : Make sure the `./gradlew` is executable
37+ run : chmod +x ./gradlew
38+ working-directory : ./server
39+
40+ - name : Build & Test with Gradle
41+ run : ./gradlew build --stacktrace
42+ working-directory : ./server
You can’t perform that action at this time.
0 commit comments