mirror of
https://github.com/GTNewHorizons/GTNH-Actions-Workflows.git
synced 2025-07-03 02:41:29 +02:00
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:
parent
9d0982a27c
commit
8193263c51
4
.github/workflows/release-tags.yml
vendored
4
.github/workflows/release-tags.yml
vendored
@ -85,7 +85,7 @@ jobs:
|
|||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Publish to Maven
|
- 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
|
continue-on-error: true
|
||||||
env:
|
env:
|
||||||
MAVEN_USER: ${{ secrets.MAVEN_USER }}
|
MAVEN_USER: ${{ secrets.MAVEN_USER }}
|
||||||
@ -93,7 +93,7 @@ jobs:
|
|||||||
if: ${{ env.MAVEN_USER != '' }}
|
if: ${{ env.MAVEN_USER != '' }}
|
||||||
|
|
||||||
- name: Publish to Modrinth and CurseForge
|
- 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
|
continue-on-error: true
|
||||||
env:
|
env:
|
||||||
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
|
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user