Skip to content

Added the Java Build github workflow #1

Added the Java Build github workflow

Added the Java Build github workflow #1

Workflow file for this run

name: Java Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "**" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 26
uses: actions/setup-java@v4
with:
java-version: '26'
distribution: 'temurin'
- name: Create output directory
run: mkdir -p out
- name: Compile Java sources
run: javac -d out $(find src -name "*.java")