Skip to content

Fix auto-threading not working when content aware naming is on and th… #251

Fix auto-threading not working when content aware naming is on and th…

Fix auto-threading not working when content aware naming is on and th… #251

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 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build Artifacts
uses: gradle/gradle-build-action@v3
with:
arguments: build --stacktrace
gradle-home-cache-cleanup: true
- 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