You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by an...@apache.org on 2019/09/10 19:05:58 UTC

[lucene-solr] 01/01: ant precommit GitHub action for custom branch

This is an automated email from the ASF dual-hosted git repository.

anshum pushed a commit to branch anshumg-precommit-branch
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git

commit 0e4927d2ada611e327352029b69093418fc31a1f
Author: Anshum Gupta <an...@apache.org>
AuthorDate: Tue Sep 10 15:05:52 2019 -0400

    ant precommit GitHub action for custom branch
    
    ant precommit GitHub action for custom branch (anshum/test-github-precommit-action)
---
 .github/workflows/ant.yml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml
new file mode 100644
index 0000000..6a0c043
--- /dev/null
+++ b/.github/workflows/ant.yml
@@ -0,0 +1,21 @@
+name: Java CI
+
+pull_request:
+    branches:
+    - anshum/test-github-precommit-action
+jobs:
+  test:
+    name: ant precommit w/ master and Java 11
+ 
+    runs-on: ubuntu-latest
+    
+    steps:
+    - uses: actions/checkout@v1
+    - name: Set up JDK 11
+      uses: actions/setup-java@v1
+      with:
+        java-version: 11
+    - name: Ivy bootstrap
+      run: ant ivy-bootstrap
+    - name: Precommit with Ant
+      run: ant precommit