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

Use action branch that supports globs

This commit is contained in:
onebeastchris
2025-07-18 12:46:42 +02:00
parent 4183cfdc6f
commit be80ecd3cf

View File

@@ -19,7 +19,7 @@ jobs:
steps: steps:
- name: Get Release Info - name: Get Release Info
id: release-info id: release-info
uses: GeyserMC/actions/previous-release@master uses: GeyserMC/actions/previous-release@feature/globs
with: with:
data: ${{ vars.RELEASEACTION_PREVRELEASE }} data: ${{ vars.RELEASEACTION_PREVRELEASE }}
@@ -34,7 +34,7 @@ jobs:
BUILD_NUMBER: ${{ steps.release-info.outputs.curentRelease }} BUILD_NUMBER: ${{ steps.release-info.outputs.curentRelease }}
- name: Archive Artifacts - name: Archive Artifacts
uses: GeyserMC/actions/upload-multi-artifact@master uses: GeyserMC/actions/upload-multi-artifact@feature/globs
if: success() if: success()
with: with:
artifacts: | artifacts: |
@@ -49,7 +49,7 @@ jobs:
- name: Get Release Metadata - name: Get Release Metadata
if: ${{ (success() || failure()) && github.repository == 'GeyserMC/Rainbow' }} if: ${{ (success() || failure()) && github.repository == 'GeyserMC/Rainbow' }}
uses: GeyserMC/actions/release@master uses: GeyserMC/actions/release@feature/globs
id: metadata id: metadata
with: with:
appID: ${{ secrets.RELEASE_APP_ID }} appID: ${{ secrets.RELEASE_APP_ID }}
@@ -63,7 +63,7 @@ jobs:
- 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@master 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 }}
@@ -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' }}