Skip to content

Better JDK setup assertions, featuring messages #1540

Better JDK setup assertions, featuring messages

Better JDK setup assertions, featuring messages #1540

Workflow file for this run

name: Test
on:
push:
branches: ['*']
pull_request:
branches: ['*']
jobs:
build:
name: Build
strategy:
matrix:
os:
- 'ubuntu-latest'
- 'macos-latest'
- 'windows-latest'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: |
11
17
21
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/jdks
~/.gradle/native
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', 'gradle/**', 'gradle.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- run: ./gradlew build --no-daemon --stacktrace
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-reports
path: 'build/reports/'