Skip to content

Commit 8f5eb38

Browse files
authored
Update ant.yml
1 parent 74141b6 commit 8f5eb38

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/ant.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
# This workflow will build a Java project with Ant
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-ant
33

4-
name: Java CI
4+
name: Java CI with Ant
55

66
on:
77
push:
8-
branches: [ "main" ]
8+
branches: [ main ]
99
pull_request:
10-
branches: [ "main" ]
10+
branches: [ main ]
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ubuntu-latest
1615

1716
steps:
18-
- uses: actions/checkout@v3
17+
- name: Checkout code
18+
uses: actions/checkout@v2
19+
1920
- name: Set up JDK 11
20-
uses: actions/setup-java@v3
21+
uses: actions/setup-java@v2
2122
with:
2223
java-version: '11'
23-
distribution: 'temurin'
24+
2425
- name: Build with Ant
25-
run: ant -noinput -buildfile build.xml
26+
run: ant -noinput -buildfile path/to/your/build.xml

0 commit comments

Comments
 (0)