File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build Pull Request
2+
3+ on : [ pull_request ]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - name : Checkout repository and submodules
10+ # See https://github.com/actions/checkout/commits
11+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
12+ with :
13+ submodules : recursive
14+
15+ - name : Validate Gradle Wrapper
16+ # See https://github.com/gradle/wrapper-validation-action/commits
17+ uses : gradle/actions/wrapper-validation@db19848a5fa7950289d3668fb053140cf3028d43 # v3.3.2
18+
19+ - name : Setup Java
20+ # See https://github.com/actions/setup-java/commits
21+ uses : actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
22+ with :
23+ java-version : 25
24+ distribution : temurin
25+
26+ - name : Setup Gradle
27+ # See https://github.com/gradle/actions/commits
28+ uses : gradle/actions/setup-gradle@db19848a5fa7950289d3668fb053140cf3028d43 # v3.3.2
29+ with :
30+ cache-read-only : true
31+
32+ - name : Build Floodgate-Modded
33+ run : ./gradlew build
34+
35+ - name : Archive artifacts (Floodgate Fabric)
36+ # See https://github.com/actions/upload-artifact/commits
37+ uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
38+ if : success()
39+ with :
40+ name : Floodgate Fabric
41+ path : fabric/build/libs/floodgate-fabric.jar
42+ if-no-files-found : error
43+
44+ - name : Archive artifacts (Floodgate NeoForge)
45+ uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
46+ if : success()
47+ with :
48+ name : Floodgate NeoForge
49+ path : neoforge/build/libs/floodgate-neoforge.jar
50+ if-no-files-found : error
You can’t perform that action at this time.
0 commit comments