Fixed ollama-client so it runs on Java 8. #156
This file contains hidden or 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 And Test on All OSs | |
| on: [push, pull_request] | |
| jobs: | |
| gradle: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| java: [1.8, 11, 17] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - uses: actions/setup-java@v1 | |
| with: | |
| java-version: ${{ matrix.java }} | |
| - uses: eskatos/gradle-command-action@v1 | |
| with: | |
| arguments: check | |
| - name: Publish Test Report | |
| if: ${{ always() }} | |
| uses: mikepenz/action-junit-report@v2 | |
| with: | |
| report_paths: '**/build/test-results/test/TEST-*.xml' |