Skip to content
This repository was archived by the owner on Dec 30, 2022. It is now read-only.

Commit 4badf91

Browse files
committed
Fix publish workflow
Signed-off-by: DeathsGun <deathsgun@protonmail.com>
1 parent 61eab79 commit 4badf91

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
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

@@ -17,7 +17,7 @@ jobs:
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:
@@ -52,7 +52,7 @@ jobs:
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

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ import com.modrinth.minotaur.TaskModrinthUpload
9898
import com.modrinth.minotaur.request.Dependency
9999
import com.modrinth.minotaur.request.VersionType
100100

101-
task publishModrinth(type: TaskModrinthUpload) {
101+
task publishModrinth(type: TaskModrinthUpload, dependsOn: remapJar) {
102102
onlyIf {
103103
System.getenv("MODRINTH")
104104
}

0 commit comments

Comments
 (0)