2020-03-17 11:17:19 +00:00
|
|
|
# This workflow will build a Java project with Ant
|
2022-10-10 11:12:22 +00:00
|
|
|
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-ant
|
2020-03-17 11:17:19 +00:00
|
|
|
|
|
|
|
|
name: Java CI
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
|
push:
|
2020-07-13 12:12:41 -07:00
|
|
|
branches: [ $default-branch ]
|
2020-03-17 11:17:19 +00:00
|
|
|
pull_request:
|
2020-07-13 12:12:41 -07:00
|
|
|
branches: [ $default-branch ]
|
2020-03-17 11:17:19 +00:00
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
build:
|
|
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
|
|
steps:
|
2024-01-03 02:09:21 -05:00
|
|
|
- uses: actions/checkout@v4
|
2021-03-02 18:43:44 +03:00
|
|
|
- name: Set up JDK 11
|
2024-04-25 13:38:10 -04:00
|
|
|
uses: actions/setup-java@v4
|
2020-03-17 11:17:19 +00:00
|
|
|
with:
|
2021-03-02 18:43:44 +03:00
|
|
|
java-version: '11'
|
2022-01-15 00:05:31 +01:00
|
|
|
distribution: 'temurin'
|
2020-03-17 11:17:19 +00:00
|
|
|
- name: Build with Ant
|
|
|
|
|
run: ant -noinput -buildfile build.xml
|