Files
starter-workflows/ci/ant.yml
T

26 lines
579 B
YAML
Raw Normal View History

2020-03-17 11:17:19 +00:00
# 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: Java CI
on:
push:
2020-07-14 18:11:40 +00:00
branches: [ $default-branch ]
2020-03-17 11:17:19 +00:00
pull_request:
2020-07-14 18:11:40 +00:00
branches: [ $default-branch ]
2020-03-17 11:17:19 +00:00
jobs:
build:
runs-on: ubuntu-latest
steps:
2022-03-28 17:11:12 +00:00
- uses: actions/checkout@v3
2021-04-05 15:31:49 +00:00
- name: Set up JDK 11
2022-03-28 17:11:12 +00:00
uses: actions/setup-java@v3
2020-03-17 11:17:19 +00:00
with:
2021-04-05 15:31:49 +00:00
java-version: '11'
2022-01-14 23:06:01 +00:00
distribution: 'temurin'
2020-03-17 11:17:19 +00:00
- name: Build with Ant
run: ant -noinput -buildfile build.xml