File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push
5+
6+ jobs :
7+ build :
8+ if : github.repository != 'CleanroomMC/TemplateDevEnv'
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout Repository
12+ uses : actions/checkout@v3
13+
14+ - name : Setup Java 17
15+ uses : actions/setup-java@v4
16+ with :
17+ java-version : ' 17'
18+ distribution : ' zulu'
19+
20+ - name : Setup Gradle
21+ uses : gradle/actions/setup-gradle@v3
22+ with :
23+ build-scan-publish : true
24+ build-scan-terms-of-use-url : " https://gradle.com/terms-of-service"
25+ build-scan-terms-of-use-agree : " yes"
26+
27+ - name : Build with Gradle
28+ run : ./gradlew --build-cache --info --stacktrace build
29+
30+ - name : Upload Artifact
31+ uses : actions/upload-artifact@v4
32+ with :
33+ path : build/libs/
34+ if-no-files-found : error
35+ compression-level : 1
You can’t perform that action at this time.
0 commit comments