File tree 1 file changed +28
-5
lines changed
1 file changed +28
-5
lines changed Original file line number Diff line number Diff line change 4
4
release :
5
5
types :
6
6
- published
7
- - edited
8
7
9
8
jobs :
10
9
build :
10
+ permissions :
11
+ contents : write
11
12
runs-on : ubuntu-latest
12
13
steps :
13
14
- name : Checkout sources
@@ -30,18 +31,39 @@ jobs:
30
31
- name : Execute Gradle build
31
32
run : ./gradlew build
32
33
34
+ - name : Upload forge artifacts to Modrinth and Curseforge
35
+ uses : Kir-Antipov/mc-publish@v3.3
36
+ with :
37
+ modrinth-id : Na8nA0jA
38
+ modrinth-token : ${{ secrets.MODRINTH_TOKEN }}
39
+
40
+ github-token : ${{ secrets.GITHUB_TOKEN }}
41
+
42
+ curseforge-id : 928290
43
+ curseforge-token : ${{ secrets.CURSEFORGE_TOKEN }}
44
+
45
+ files : build/libs_forge/!(*-@(dev|sources|all)).jar
46
+ game-versions : " >=1.21"
33
47
34
- - name : Upload artifacts to Modrinth and GitHub
48
+ version-type : release
49
+ loaders : forge
50
+ version-resolver : latest
51
+
52
+ dependencies : |
53
+ farmers-delight-refabricated
54
+ farmers-delight-fabric(incompatible)
55
+
56
+ - name : Upload fabric artifacts to Modrinth and GitHub
35
57
uses : Kir-Antipov/mc-publish@v3.3
36
58
with :
37
- modrinth-id : vtNhfMsL
59
+ modrinth-id : Na8nA0jA
38
60
modrinth-token : ${{ secrets.MODRINTH_TOKEN }}
39
61
40
- curseforge-id : 1112658
62
+ curseforge-id : 928290
41
63
curseforge-token : ${{ secrets.CURSEFORGE_TOKEN }}
42
64
43
65
github-token : ${{ secrets.GITHUB_TOKEN }}
44
- files : build/libs /!(*-@(dev|sources|all)).jar
66
+ files : build/libs_forge /!(*-@(dev|sources|all)).jar
45
67
46
68
version-type : release
47
69
loaders : fabric quilt
51
73
fabric-api
52
74
farmers-delight-refabricated
53
75
farmers-delight-fabric(incompatible)
76
+
You can’t perform that action at this time.
0 commit comments