-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) · 937 Bytes
/
gradle.yml
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
name: Build and Upload Artifacts
on:
push:
branches: [1.20.1]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.2
- name: Setup java 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Setup gradle
run: chmod +x ./gradlew
- name: Build
run: ./gradlew build
- name: Upload NeoForge artifacts
uses: actions/upload-artifact@v3.1.2
with:
name: TimeStacker-NeoForge
path: neoforge/build/libs/**.jar
- name: Upload Forge artifacts
uses: actions/upload-artifact@v3.1.2
with:
name: TimeStacker-Forge
path: forge/build/libs/**.jar
- name: Upload Fabric artifacts
uses: actions/upload-artifact@v3.1.2
with:
name: TimeStacker-Fabric
path: fabric/build/libs/**.jar