File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -196,6 +196,51 @@ jobs:
196196 name : ${{ matrix.mod-loader }} ${{ matrix.mc-version }}
197197 path : ./MinecraftMod/${{ matrix.mod-loader }}/${{ matrix.mc-version }}/build/libs/*.jar
198198
199+ buildJava25 :
200+ name : Build ${{ matrix.mod-loader }} ${{ matrix.mc-version }}
201+ runs-on : ubuntu-latest
202+ needs : buildCore
203+
204+ # Matrix of jobs to run
205+ strategy :
206+ fail-fast : false
207+ matrix :
208+ mod-loader : ['fabric', 'neoforge']
209+ mc-version : ["26.1"]
210+
211+ steps :
212+ # Checks-out the repository under $GITHUB_WORKSPACE, so the job can access it
213+ - uses : actions/checkout@v4
214+
215+ # Setup JDK
216+ - name : Set up JDK 25
217+ uses : actions/setup-java@v4
218+ with :
219+ distribution : ' microsoft'
220+ java-version : 25
221+
222+ - name : Set up Gradle
223+ uses : gradle/actions/setup-gradle@v3
224+
225+ # Download Core
226+ - name : Download Core Artifact
227+ uses : actions/download-artifact@v4
228+ with :
229+ name : maven
230+ path : ~/.m2/repository
231+
232+ # Build Minecraft Mod
233+ - name : Build Mod
234+ working-directory : ./MinecraftMod/${{ matrix.mod-loader }}/${{ matrix.mc-version }}
235+ run : ' ./gradlew build --no-daemon'
236+
237+ # Upload Artifact
238+ - name : Upload Artifact
239+ uses : actions/upload-artifact@v4
240+ with :
241+ name : ${{ matrix.mod-loader }} ${{ matrix.mc-version }}
242+ path : ./MinecraftMod/${{ matrix.mod-loader }}/${{ matrix.mc-version }}/build/libs/*.jar
243+
199244 buildPlugin :
200245 name : Build Stream Deck Plugin
201246 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments