Skip to content

Test Build Release

Test Build Release #11

Workflow file for this run

name: Test Build Release
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'info'
type: choice
options:
- debug
- info
- warning
- error
jobs:
build-release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload App To Artifact
uses: actions/upload-artifact@v4
with:
name: kingprimes.top
path: target/NyxBot.jar
if-no-files-found: warn
retention-days: 30
compression-level: 6
overwrite: true