This repository was archived by the owner on Oct 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +49
-48
lines changed Expand file tree Collapse file tree 2 files changed +49
-48
lines changed Original file line number Diff line number Diff line change 1+ name : build-java
2+ on : [push, pull_request]
3+
4+ jobs :
5+ build :
6+ strategy :
7+ matrix :
8+ java : [
9+ 17,
10+ 21,
11+ ]
12+ os : [
13+ ubuntu-22.04,
14+ windows-2022
15+ ]
16+ runs-on : ${{ matrix.os }}
17+ steps :
18+ - name : checkout repository
19+ uses : actions/checkout@v4
20+ - name : setup jdk
21+ uses : actions/setup-java@v4
22+ with :
23+ distribution : temurin
24+ java-version : ${{ matrix.java }}
25+ - name : restore cached dependencies
26+ uses : actions/cache/restore@v4
27+ with :
28+ path : |
29+ .gradle/
30+ ~/.gradle/caches
31+ ~/.gradle/wrapper
32+ key : ${{ runner.os }}-Gradle
33+ - name : build
34+ run : ./gradlew build --no-daemon --warning-mode=all
35+ - name : capture build artifacts
36+ uses : actions/upload-artifact@v4
37+ with :
38+ name : server-stats-artifacts
39+ path : build/libs
40+ if-no-files-found : error
41+ - name : cache downloaded dependencies
42+ if : ${{ github.ref_name == 'stardust' }}
43+ uses : actions/cache/save@v4
44+ with :
45+ path : |
46+ .gradle/
47+ ~/.gradle/caches
48+ ~/.gradle/wrapper
49+ key : ${{ runner.os }}-Gradle
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments