-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (34 loc) · 973 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
42
43
name: Java with Gradle
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up JDK 17
uses: actions/[email protected]
with:
java-version: 17
- name: Give permissions to Gradle
run: chmod +x ./gradlew
- name: Build
uses: gradle/gradle-build-action@v2
with:
arguments: build jar
- name: Upload a Forge Artifacts
uses: actions/[email protected]
with:
name: PacketFixerForge
path: forge/build/libs/**.jar
- name: Upload a Fabric Artifacts
uses: actions/[email protected]
with:
name: PacketFixerFabric
path: fabric/build/libs/**.jar
- name: Upload a NeoForge Artifacts
uses: actions/[email protected]
with:
name: PacketFixerNeoForge
path: neoforge/build/libs/**.jar