Update README #94
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: CI | |
on: push | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ 8, 16 ] | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup JDK | |
uses: actions/[email protected] | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Setup Gradle cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.gradle | |
key: ${{ runner.os }}-${{ matrix.java }}-gradle-${{ hashFiles('build.gradle') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.java }}-gradle | |
- name: Check | |
run: ./gradlew check | |
- name: Upload Gradle reports ${{ matrix.java }} | |
uses: actions/[email protected] | |
if: failure() | |
with: | |
name: Gradle Reports | |
path: "**/build/reports" |