You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by md...@apache.org on 2020/12/23 20:23:24 UTC

[lucene-solr] branch master updated: LUCENE-9647 Add back github action for Ant (#2163)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new ba82210  LUCENE-9647 Add back github action for Ant (#2163)
ba82210 is described below

commit ba8221098e4f13a57676d66a33093e6d5a7575ac
Author: Mike Drob <md...@apache.org>
AuthorDate: Wed Dec 23 14:22:57 2020 -0600

    LUCENE-9647 Add back github action for Ant (#2163)
---
 .github/workflows/ant.yml | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml
new file mode 100644
index 0000000..ab1f33c
--- /dev/null
+++ b/.github/workflows/ant.yml
@@ -0,0 +1,32 @@
+name: Ant precommit
+
+on: 
+  pull_request:
+    branches:
+    - 'branch_8x'
+jobs:
+  test:
+    runs-on: ubuntu-latest
+    
+    steps:
+    - uses: actions/checkout@v2
+
+    - name: Set up JDK 1.8
+      uses: actions/setup-java@v1
+      with:
+        java-version: 1.8
+
+    - name: Cache Ivy packages
+      uses: actions/cache@v2
+      with:
+        path: ~/.ivy2/cache/
+        key: ${{ runner.os }}-ant-precommit-${{ hashFiles('**/ivy-versions.properties') }}
+        restore-keys: |
+          ${{ runner.os }}-ant-precommit-
+          ${{ runner.os }}-ant-
+
+    - name: Ivy bootstrap
+      run: ant ivy-bootstrap
+
+    - name: Precommit
+      run: ant precommit