Skip to content

Update ant.yml

Update ant.yml #4

Workflow file for this run

# This workflow will build a Java project with Ant
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-ant
name: Java CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:

Check failure on line 13 in .github/workflows/ant.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ant.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11 (GraalVM)
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'graalvm'
- name: Build without Ant
run: javac -version
# - name: Build with Ant
# run: ant -noinput -buildfile build.xml