Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Remove unused if in release GitHub action #23

Remove unused if in release GitHub action

Remove unused if in release GitHub action #23

Workflow file for this run

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