This repository was archived by the owner on Dec 30, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ name: Build
22on :
33 push :
44 branches :
5- - " 1.16"
6- - " 1.17"
75 - " 1.18"
86
97jobs :
Original file line number Diff line number Diff line change 77
88 # Prepare and publish the plugin to the Marketplace repository
99 release :
10- name : Publish Plugin
10+ name : Publish mod
1111 runs-on : ubuntu-latest
1212 steps :
1313
1717 with :
1818 ref : ${{ github.event.release.tag_name }}
1919
20- # Setup Java 11 environment for the next steps
20+ # Setup Java 17 environment for the next steps
2121 - name : Setup Java
2222 uses : actions/setup-java@v2
2323 with :
5252 - name : Publish Plugin
5353 env :
5454 MODRINTH : ${{ secrets.MODRINTH }}
55- run : ./gradlew publishModrinth
55+ run : ./gradlew publishModrinth zip
5656
5757 # Upload artifact as a release asset
5858 - name : Upload Release Asset
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ import com.modrinth.minotaur.TaskModrinthUpload
9999import com.modrinth.minotaur.request.Dependency
100100import com.modrinth.minotaur.request.VersionType
101101
102- task publishModrinth (type : TaskModrinthUpload ) {
102+ task publishModrinth (type : TaskModrinthUpload , dependsOn : remapJar ) {
103103 onlyIf {
104104 System . getenv(" MODRINTH" )
105105 }
You can’t perform that action at this time.
0 commit comments