-
Notifications
You must be signed in to change notification settings - Fork 7
49 lines (42 loc) · 1.03 KB
/
Build.yml
File metadata and controls
49 lines (42 loc) · 1.03 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Mod Build
on:
push:
paths:
- "*.gradle"
- "gradle.properties"
- "src/**"
- "gradle/**"
- ".github/workflows/*"
pull_request:
workflow_dispatch:
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup JDK
uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
with:
validate-wrappers: true
allow-snapshot-wrappers: true
- name: Configure Git
run: |
git config core.filemode false
- name: Build with Gradle
run: gradle build
- name: Upload Build Artifact
uses: actions/upload-artifact@v5
with:
name: Build-Artifacts
path: |
LICENSE
fabricWrapper/build/libs/*.jar
fabricWrapper/build/tmp/submods/META-INF/jars/*.jar