Add ability to skip GitHub publication

This commit is contained in:
miozune 2023-11-02 11:18:01 +09:00 committed by Martin Robertz
parent 7af38bd652
commit c26875bdec

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