From a9450bf081a5fa4b8bcbc8a122068a9c0a52a75d Mon Sep 17 00:00:00 2001 From: FalsePattern Date: Tue, 9 Jul 2024 21:20:17 +0200 Subject: [PATCH] split cf and modrinth publish --- .github/workflows/release-tags.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-tags.yml b/.github/workflows/release-tags.yml index 64b62cf..b957e61 100644 --- a/.github/workflows/release-tags.yml +++ b/.github/workflows/release-tags.yml @@ -95,9 +95,14 @@ jobs: MAVEN_DEPLOY_PASSWORD: ${{ secrets.MAVEN_DEPLOY_PASSWORD }} if: ${{ env.MAVEN_DEPLOY_USER != '' }} - - name: Publish to Modrinth and CurseForge - run: ./gradlew --build-cache assemble curseforge modrinth -x test + - name: Publish to CurseForge + run: ./gradlew --build-cache assemble curseforge -x test + continue-on-error: true + env: + CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }} + + - name: Publish to Modrinth + run: ./gradlew --build-cache assemble modrinth -x test continue-on-error: true env: MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} - CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}