-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathant.yml
More file actions
31 lines (26 loc) · 781 Bytes
/
Copy pathant.yml
File metadata and controls
31 lines (26 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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 with ant
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
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: 1.11
- name: Install deps
run: sudo apt-get install -y libhamcrest-java junit4
- name: Build with Ant
run: cd ant && ant -noinput -buildfile build.xml
- name: Archive production artifacts
uses: actions/upload-artifact@v2
with:
name: ant.jar
path: ant/dist/lib/*.jar