-
-
Notifications
You must be signed in to change notification settings - Fork 11
55 lines (52 loc) · 1.66 KB
/
publish.yaml
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
50
51
52
53
54
55
name: Publish action
on:
create:
tag:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: "17"
- name: make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: build
run: ./gradlew build
- name: Publish Minecraft Mods Forge
uses: Kir-Antipov/mc-publish@v3.1
with:
curseforge-id: 291936
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
files-primary: forge/build/libs/*-forge.jar
files-secondary: forge/build/libs/!(*-forge).jar
version-type: beta
loaders: forge
game-versions: 1.20.1
java: 17
name: ""
changelog: "https://github.com/Buuz135/FindMe/commits/1.19"
dependencies: |
architectury-api | depends | *
- name: Publish Minecraft Mods Fabric
uses: Kir-Antipov/mc-publish@v3.1
with:
curseforge-id: 291936
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
files-primary: fabric/build/libs/*-fabric.jar
files-secondary: fabric/build/libs/!(*-fabric).jar
version-type: beta
loaders: fabric
game-versions: 1.20.1
java: 17
name: ""
dependencies: |
architectury-api | depends | *
changelog: "https://github.com/Buuz135/FindMe/commits/1.19"