mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
test only publish alpha
This commit is contained in:
parent
eff27537ce
commit
90f786bd53
1 changed files with 12 additions and 11 deletions
23
.github/workflows/gradle.yml
vendored
23
.github/workflows/gradle.yml
vendored
|
|
@ -125,7 +125,7 @@ jobs:
|
||||||
run: ./gradlew publishAllPublicationsToHangar --stacktrace
|
run: ./gradlew publishAllPublicationsToHangar --stacktrace
|
||||||
|
|
||||||
- name: Modrinth publish alpha
|
- 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
|
uses: cloudnode-pro/modrinth-publish@v2
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.MODRINTH_TOKEN }}
|
token: ${{ secrets.MODRINTH_TOKEN }}
|
||||||
|
|
@ -136,18 +136,19 @@ jobs:
|
||||||
channel: alpha
|
channel: alpha
|
||||||
files: build/libs/${{ env.ONLINE_JAR_NAME }}
|
files: build/libs/${{ env.ONLINE_JAR_NAME }}
|
||||||
|
|
||||||
- name: Modrinth publish release
|
#- name: Modrinth publish release
|
||||||
if: ${{ github.event_name == 'release' && github.repository_owner == 'alexcrea' && success() && false}}
|
# if: ${{ github.event_name == 'release' && github.repository_owner == 'alexcrea' && success() && false}}
|
||||||
uses: cloudnode-pro/modrinth-publish@v2
|
# uses: cloudnode-pro/modrinth-publish@v2
|
||||||
with:
|
# with:
|
||||||
token: ${{ secrets.MODRINTH_TOKEN }}
|
# token: ${{ secrets.MODRINTH_TOKEN }}
|
||||||
project: customanvil
|
# project: customanvil
|
||||||
version: ${{ env.ONLINE_JAR_NAME }}${{ github.event.release.prerelease == false && '' || '-pre' }}
|
# version: ${{ env.ONLINE_JAR_NAME }}${{ github.event.release.prerelease == false && '' || '-pre' }}
|
||||||
loaders: '["spigot", "paper", "purpur", "folia"]'
|
# loaders: '["spigot", "paper", "purpur", "folia"]'
|
||||||
game-versions: '["1.18.x", "1.19.x", "1.20.x", "1.21.x"]'
|
# game-versions: '["1.18.x", "1.19.x", "1.20.x", "1.21.x"]'
|
||||||
files: build/libs/${{ env.ONLINE_JAR_NAME }}
|
# files: build/libs/${{ env.ONLINE_JAR_NAME }}
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
|
if: ${{ false }}
|
||||||
uses: tsickert/discord-webhook@v7.0.0
|
uses: tsickert/discord-webhook@v7.0.0
|
||||||
with:
|
with:
|
||||||
webhook-url: ${{ secrets.TEST_WEBHOOK_URL }}
|
webhook-url: ${{ secrets.TEST_WEBHOOK_URL }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue