This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
Update dependency net.dv8tion:JDA to v5.0.2 #28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: [ "develop", "hotfix/**" ] | |
pull_request: | |
branches: [ "develop", "hotfix/**" ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: 🏗️ Build TurnipTales Discord Bot | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
cache: maven | |
- name: Set application properties | |
env: | |
DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }} | |
run: | | |
echo "discord.bot.token=$DISCORD_BOT_TOKEN" >> src/main/resources/application.properties | |
- name: Build with Maven | |
run: mvn -B test package --file pom.xml |