Add ability to skip GitHub publication

This commit is contained in:
miozune
2023-11-03 08:17:40 +01:00
committed by Martin Robertz
parent 7af38bd652
commit c26875bdec
+1
View File
@@ -76,6 +76,7 @@ jobs:
continue-on-error: true
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ !contains(github.event.head_commit.message, '[no github]') }}
- name: Publish to Maven, Modrinth and CurseForge
run: ./gradlew --build-cache --info --stacktrace build publish