mirror of
https://github.com/GeyserMC/Rainbow.git
synced 2025-12-21 15:59:31 +00:00
Disable downloads api publishing, use releases for now
This commit is contained in:
38
.github/workflows/build.yml
vendored
38
.github/workflows/build.yml
vendored
@@ -56,21 +56,21 @@ jobs:
|
|||||||
appPrivateKey: ${{ secrets.RELEASE_APP_PK }}
|
appPrivateKey: ${{ secrets.RELEASE_APP_PK }}
|
||||||
files: |
|
files: |
|
||||||
rainbow:build/libs/rainbow-*.jar
|
rainbow:build/libs/rainbow-*.jar
|
||||||
releaseEnabled: false
|
releaseEnabled: true
|
||||||
saveMetadata: true
|
saveMetadata: true
|
||||||
releaseProject: 'rainbow'
|
releaseProject: 'rainbow'
|
||||||
releaseVersion: ${{ steps.get-version.outputs.VERSION }}
|
releaseVersion: ${{ steps.get-version.outputs.VERSION }}
|
||||||
|
|
||||||
- name: Publish to Downloads API
|
# - name: Publish to Downloads API
|
||||||
if: ${{ success() && github.repository == 'GeyserMC/Rainbow' && github.ref_name == 'master' }}
|
# if: ${{ success() && github.repository == 'GeyserMC/Rainbow' && github.ref_name == 'master' }}
|
||||||
uses: GeyserMC/actions/upload-release@feature/globs
|
# uses: GeyserMC/actions/upload-release@feature/globs
|
||||||
with:
|
# with:
|
||||||
username: ${{ vars.DOWNLOADS_USERNAME }}
|
# username: ${{ vars.DOWNLOADS_USERNAME }}
|
||||||
privateKey: ${{ secrets.DOWNLOADS_PRIVATE_KEY }}
|
# privateKey: ${{ secrets.DOWNLOADS_PRIVATE_KEY }}
|
||||||
host: ${{ secrets.DOWNLOADS_SERVER_IP }}
|
# host: ${{ secrets.DOWNLOADS_SERVER_IP }}
|
||||||
files: |
|
# files: |
|
||||||
build/libs/rainbow-*.jar
|
# build/libs/rainbow-*.jar - TODO does not support globs!
|
||||||
changelog: ${{ steps.metadata.outputs.body }}
|
# changelog: ${{ steps.metadata.outputs.body }}
|
||||||
|
|
||||||
# - name: Publish to Modrinth
|
# - name: Publish to Modrinth
|
||||||
# if: ${{ success() && github.repository == 'GeyserMC/rainbow' && github.ref_name == 'master' }}
|
# if: ${{ success() && github.repository == 'GeyserMC/rainbow' && github.ref_name == 'master' }}
|
||||||
@@ -80,11 +80,11 @@ jobs:
|
|||||||
# MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
|
# MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
|
||||||
# run: ./gradlew modrinth
|
# run: ./gradlew modrinth
|
||||||
|
|
||||||
# - name: Notify Discord
|
- name: Notify Discord
|
||||||
# if: ${{ (success() || failure()) && github.repository == 'GeyserMC/Rainbow' }}
|
if: ${{ (success() || failure()) && github.repository == 'GeyserMC/Rainbow' }}
|
||||||
# uses: GeyserMC/actions/notify-discord@master
|
uses: GeyserMC/actions/notify-discord@master
|
||||||
# with:
|
with:
|
||||||
# discordWebhook: ${{ secrets.DISCORD_WEBHOOK }}
|
discordWebhook: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
# status: ${{ job.status }}
|
status: ${{ job.status }}
|
||||||
# body: ${{ steps.metadata.outputs.body }}
|
body: ${{ steps.metadata.outputs.body }}
|
||||||
# includeDownloads: ${{ github.ref_name == 'master' }}
|
includeDownloads: ${{ github.ref_name == 'master' }}
|
||||||
|
|||||||
Reference in New Issue
Block a user