Skip to content

Java CI

Java CI #107

Workflow file for this run

name: Java CI
on: [pull_request, workflow_dispatch]
jobs:
build:
name: Build
runs-on: ubuntu-latest
if: "! contains(toJSON(github.event.head_commit.message), '[Skip CI]')"
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 21
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v2
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: Language Reload
path: build/libs