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