Releases: ForgeEssentials/DiscordGradleBot
Releases · ForgeEssentials/DiscordGradleBot
Release 1.0.0
First actual release of the Forge Essentials Discord Gradle bot. This bot is designed to publish to a discord channel based on inputs you provide.
Depending on the channel type, it will either post directly to the channel or create a Forum post with the branch name if it is a Forum channel.
example:
- run: |
mkdir -p build/libs
unzip binaries.zip -d build/libs
- name: Publish Binaries to Discord
working-directory: DiscordGradleBot
env:
DISCORD_TOKEN: '${{ secrets.DISCORD_TOKEN }}'
DEV_BUILD_CHANNEL_ID: '${{ vars.DEV_BUILD_CHANNEL_ID }}'
RELEASE_CHANNEL_ID: '${{ vars.RELEASE_CHANNEL_ID }}'
BUILD_NUMBER: '${{ steps.download-artifact.outputs.result }}'
run: |
chmod +x gradlew
./gradlew publishToDiscord -i```