Skip to content

Update README.md

Update README.md #3

Workflow file for this run

name: Java CI
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Java 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Compile all Java files
run: |
echo "Compiling Java source..."
find . -name "*.java" > sources.txt
if [ -s sources.txt ]; then
javac @sources.txt
echo "Compilation successful."
else
echo "No Java files found."
fi