Merge pull request #1191 from ontodev/cmungall-patch-2 #589
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: Java CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
java: [11, 15, 17] | |
name: Java ${{ matrix.java }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check Docs | |
run: ./util/check_docs.py | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: CI Test | |
run: mvn verify | |
- name: Upload Artifact | |
if: ${{ matrix.java == 11 }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: robot.jar | |
path: bin/robot.jar | |
retention-days: 90 |