Merge branch 'master' into TokenSearch_new #283
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: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Set up Elasticsearch container | |
run: docker-compose up -d es | |
env: | |
ES_PORT: 9200 | |
- name: Wait for ES to respond | |
uses: cygnetdigital/[email protected] | |
with: | |
url: 'http://localhost:9200' | |
responseCode: '200' | |
timeout: 30000 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build with Gradle | |
run: ./gradlew build | |
... |