Skip to content

Fix missing default value in utility args #253

Fix missing default value in utility args

Fix missing default value in utility args #253

Workflow file for this run

name: Build & Deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Build Project
run: ./gradlew build --stacktrace
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: Build and Deploy Artifacts
path: build/libs/*[0-9].jar
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
- run: docker build -t ghcr.io/hyacinthbots/lilybot:latest .
- run: docker push ghcr.io/hyacinthbots/lilybot:latest