Rename ant.yml to ant-java.yml

This commit is contained in:
Cekis
2020-10-11 15:10:47 -07:00
committed by GitHub
parent 53a1969738
commit 183bf7455b

28
.github/workflows/ant-java.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
# This workflow will build a Java project with Ant
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-ant
name: Build Java
on:
push:
branches: [ master ]
paths:
- '*.java'
pull_request:
branches: [ master ]
paths:
- '*.java'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.11
uses: actions/setup-java@v1
with:
java-version: '11.0.2'
- name: Build with Ant
run: ant -noinput -buildfile build.xml compile_java