diff --git a/.github/workflows/publish_pr.yml b/.github/workflows/publish_pr.yml index 94e42ec..f194bfd 100644 --- a/.github/workflows/publish_pr.yml +++ b/.github/workflows/publish_pr.yml @@ -45,11 +45,11 @@ "concurrency": "ci-${{ github.ref }}", "on": { "workflow_run": { - "workflows": [ - "Build PR" - ], "types": [ "completed" + ], + "workflows": [ + "Build PR" ] } } diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1ca7fe9..854e512 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -275,7 +275,7 @@ }, { "name": "Publish", - "run": "./gradlew modrinth curseforge", + "run": "./gradlew publishMods", "id": "publish", "env": { "BUILD_CACHE_PASSWORD": "${{ secrets.BUILD_CACHE_PASSWORD }}", diff --git a/build.gradle b/build.gradle index b64ecbc..22bceef 100644 --- a/build.gradle +++ b/build.gradle @@ -67,7 +67,7 @@ managedVersioning { buildCache() needs.add('build') tag.set('${{needs.build.outputs.version}}') - gradlew 'Publish', 'modrinth', 'curseforge' + gradlew 'Publish', 'publishMods' sign() mavenCentral() modPublishing()