diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index e6179e6..60ae926 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -125,7 +125,7 @@ jobs: run: ./gradlew publishAllPublicationsToHangar --stacktrace - name: Modrinth publish alpha - if: ${{ github.event_name == 'push' && github.repository_owner == 'alexcrea' && success() && false}} + if: ${{ github.event_name == 'push' && github.repository_owner == 'alexcrea' && success() }} uses: cloudnode-pro/modrinth-publish@v2 with: token: ${{ secrets.MODRINTH_TOKEN }} @@ -136,18 +136,19 @@ jobs: channel: alpha files: build/libs/${{ env.ONLINE_JAR_NAME }} - - name: Modrinth publish release - if: ${{ github.event_name == 'release' && github.repository_owner == 'alexcrea' && success() && false}} - uses: cloudnode-pro/modrinth-publish@v2 - with: - token: ${{ secrets.MODRINTH_TOKEN }} - project: customanvil - version: ${{ env.ONLINE_JAR_NAME }}${{ github.event.release.prerelease == false && '' || '-pre' }} - loaders: '["spigot", "paper", "purpur", "folia"]' - game-versions: '["1.18.x", "1.19.x", "1.20.x", "1.21.x"]' - files: build/libs/${{ env.ONLINE_JAR_NAME }} + #- name: Modrinth publish release + # if: ${{ github.event_name == 'release' && github.repository_owner == 'alexcrea' && success() && false}} + # uses: cloudnode-pro/modrinth-publish@v2 + # with: + # token: ${{ secrets.MODRINTH_TOKEN }} + # project: customanvil + # version: ${{ env.ONLINE_JAR_NAME }}${{ github.event.release.prerelease == false && '' || '-pre' }} + # loaders: '["spigot", "paper", "purpur", "folia"]' + # game-versions: '["1.18.x", "1.19.x", "1.20.x", "1.21.x"]' + # files: build/libs/${{ env.ONLINE_JAR_NAME }} - name: Release + if: ${{ false }} uses: tsickert/discord-webhook@v7.0.0 with: webhook-url: ${{ secrets.TEST_WEBHOOK_URL }}