Backport SOLR-14765 to branch_8_11 #3136
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ant precommit | |
on: | |
pull_request: | |
branches: | |
- 'branch_8_11' | |
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 |