We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f101a6 commit d06f695Copy full SHA for d06f695
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,28 @@
1
+name: Build Mod Without Local JDK
2
+
3
+on: [push, workflow_dispatch]
4
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - name: Checkout Repository
10
+ uses: actions/checkout@v4
11
12
+ - name: Set up Java
13
+ uses: actions/setup-java@v4
14
+ with:
15
+ distribution: 'temurin'
16
+ java-version: '21' # Change to 17 or 8 depending on the Minecraft version
17
18
+ - name: Make Gradle Executable
19
+ run: chmod +x gradlew
20
21
+ - name: Build with Gradle
22
+ run: ./gradlew build
23
24
+ - name: Upload Mod Jar
25
+ uses: actions/upload-artifact@v4
26
27
+ name: compiled-mod
28
+ path: build/libs/*.jar
0 commit comments