File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
1
# This workflow will build a Java project with Ant
2
2
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-ant
3
3
4
- name : Java CI
4
+ name : Java CI with Ant
5
5
6
6
on :
7
7
push :
8
- branches : [ " main" ]
8
+ branches : [ main ]
9
9
pull_request :
10
- branches : [ " main" ]
10
+ branches : [ main ]
11
11
12
12
jobs :
13
13
build :
14
-
15
14
runs-on : ubuntu-latest
16
15
17
16
steps :
18
- - uses : actions/checkout@v3
17
+ - name : Checkout code
18
+ uses : actions/checkout@v2
19
+
19
20
- name : Set up JDK 11
20
- uses : actions/setup-java@v3
21
+ uses : actions/setup-java@v2
21
22
with :
22
23
java-version : ' 11'
23
- distribution : ' temurin '
24
+
24
25
- name : Build with Ant
25
- run : ant -noinput -buildfile build.xml
26
+ run : ant -noinput -buildfile path/to/your/ build.xml
You can’t perform that action at this time.
0 commit comments