You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ja...@apache.org on 2021/06/02 13:57:19 UTC
[lucene-solr] branch master updated: Re-introduce ant precommit
github action in 8x branch (#2503)
This is an automated email from the ASF dual-hosted git repository.
janhoy 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 4d6c3e1 Re-introduce ant precommit github action in 8x branch (#2503)
4d6c3e1 is described below
commit 4d6c3e17c6574b5d0fa626359a7f14c435bc5e9f
Author: Jan Høydahl <ja...@users.noreply.github.com>
AuthorDate: Wed Jun 2 15:57:05 2021 +0200
Re-introduce ant precommit github action in 8x branch (#2503)
---
.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..35a02d4
--- /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