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
This commit is contained in:
Jason Mitchell 2024-04-03 14:31:58 -07:00 committed by Martin Robertz
parent 9d0982a27c
commit 8193263c51

View File

@ -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 }}