mirror of
https://github.com/actions/checkout.git
synced 2025-04-01 22:10:06 +02:00
25 lines
562 B
YAML
25 lines
562 B
YAML
# 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: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Set up JDK 11
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
java-version: '11'
|
|
distribution: 'temurin'
|
|
- name: Build with Ant
|
|
run: ant -noinput -buildfile build.xml
|