Improve vespa connector resilience and logging #28
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: Maven CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '8' | |
distribution: 'temurin' | |
cache: maven | |
- name: Build with Maven | |
run: mvn compile | |
- name: Test with Maven | |
run: mvn test --batch-mode --fail-at-end | |
- name: Publish Test Report | |
if: success() || failure() | |
uses: scacap/action-surefire-report@v1 | |
- name: Package with maven | |
run: mvn package | |
- run: mkdir artifact && cp target/components/*.jar artifact && cp target/components/packages/*.zip artifact | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: Artifacts | |
path: artifact |