1
0
mirror of https://github.com/GeyserMC/Rainbow.git synced 2025-12-19 14:59:16 +00:00

Disable downloads api publishing, use releases for now

This commit is contained in:
onebeastchris
2025-07-18 13:06:39 +02:00
parent 653d9af267
commit 4cfe7c0cd1

View File

@@ -56,21 +56,21 @@ jobs:
appPrivateKey: ${{ secrets.RELEASE_APP_PK }}
files: |
rainbow:build/libs/rainbow-*.jar
releaseEnabled: false
releaseEnabled: true
saveMetadata: true
releaseProject: 'rainbow'
releaseVersion: ${{ steps.get-version.outputs.VERSION }}
- name: Publish to Downloads API
if: ${{ success() && github.repository == 'GeyserMC/Rainbow' && github.ref_name == 'master' }}
uses: GeyserMC/actions/upload-release@feature/globs
with:
username: ${{ vars.DOWNLOADS_USERNAME }}
privateKey: ${{ secrets.DOWNLOADS_PRIVATE_KEY }}
host: ${{ secrets.DOWNLOADS_SERVER_IP }}
files: |
build/libs/rainbow-*.jar
changelog: ${{ steps.metadata.outputs.body }}
# - name: Publish to Downloads API
# if: ${{ success() && github.repository == 'GeyserMC/Rainbow' && github.ref_name == 'master' }}
# uses: GeyserMC/actions/upload-release@feature/globs
# with:
# username: ${{ vars.DOWNLOADS_USERNAME }}
# privateKey: ${{ secrets.DOWNLOADS_PRIVATE_KEY }}
# host: ${{ secrets.DOWNLOADS_SERVER_IP }}
# files: |
# build/libs/rainbow-*.jar - TODO does not support globs!
# changelog: ${{ steps.metadata.outputs.body }}
# - name: Publish to Modrinth
# if: ${{ success() && github.repository == 'GeyserMC/rainbow' && github.ref_name == 'master' }}
@@ -80,11 +80,11 @@ jobs:
# MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
# run: ./gradlew modrinth
# - name: Notify Discord
# if: ${{ (success() || failure()) && github.repository == 'GeyserMC/Rainbow' }}
# uses: GeyserMC/actions/notify-discord@master
# with:
# discordWebhook: ${{ secrets.DISCORD_WEBHOOK }}
# status: ${{ job.status }}
# body: ${{ steps.metadata.outputs.body }}
# includeDownloads: ${{ github.ref_name == 'master' }}
- name: Notify Discord
if: ${{ (success() || failure()) && github.repository == 'GeyserMC/Rainbow' }}
uses: GeyserMC/actions/notify-discord@master
with:
discordWebhook: ${{ secrets.DISCORD_WEBHOOK }}
status: ${{ job.status }}
body: ${{ steps.metadata.outputs.body }}
includeDownloads: ${{ github.ref_name == 'master' }}