-
Notifications
You must be signed in to change notification settings - Fork 5
28 lines (25 loc) · 765 Bytes
/
build.yml
File metadata and controls
28 lines (25 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Build mod
on: [ push, pull_request, workflow_dispatch ]
jobs:
build:
name: Build mod
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDKs
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: |
8
17
25
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew -Dorg.gradle.java.installations.fromEnv=JAVA_HOME_17_X64 -Dorg.gradle.java.installations.auto-download=false -Pnet.minecraftforge.gradle.disableUpdateChecker=true build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: Random Complement
path: build/libs