From 8193263c51518742f4f506dfed9131c4d94b446a Mon Sep 17 00:00:00 2001 From: Jason Mitchell Date: Wed, 3 Apr 2024 14:31:58 -0700 Subject: [PATCH] Forcibly skip tests for publishing It looks like the CF/MN plugin still pulls in the test dep when trying to run on Angelica - forcibly skip it --- .github/workflows/release-tags.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-tags.yml b/.github/workflows/release-tags.yml index 3bf858a..1e0c6ea 100644 --- a/.github/workflows/release-tags.yml +++ b/.github/workflows/release-tags.yml @@ -85,7 +85,7 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish to Maven - run: ./gradlew --build-cache --info --stacktrace -PmavenPublishUrl='${{ env.MAVEN_PUBLISHING_URL }}' assemble publish + run: ./gradlew --build-cache --info --stacktrace -PmavenPublishUrl='${{ env.MAVEN_PUBLISHING_URL }}' assemble publish -x test continue-on-error: true env: MAVEN_USER: ${{ secrets.MAVEN_USER }} @@ -93,7 +93,7 @@ jobs: if: ${{ env.MAVEN_USER != '' }} - name: Publish to Modrinth and CurseForge - run: ./gradlew --build-cache --info --stacktrace -PmavenPublishUrl='${{ env.MAVEN_PUBLISHING_URL }}' assemble publish + run: ./gradlew --build-cache --info --stacktrace -PmavenPublishUrl='${{ env.MAVEN_PUBLISHING_URL }}' assemble publish -x test continue-on-error: true env: MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}