mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-01-17 00:05:07 -05:00
29 lines
657 B
YAML
29 lines
657 B
YAML
# 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
|
|
|