Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Display javac.out on failure #11

Display javac.out on failure

Display javac.out on failure #11

Workflow file for this run

name: Java CI
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
jobs:
build:
name: "Test on JDK ${{ matrix.java_version }} with ${{ matrix.compiler }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java_version: [ 17, 21 ]
steps:
- name: Checkout for build on JDK ${{ matrix.java_version }}
uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java_version }}
check-latest: true
- name: Build with Maven
run: |
./mvnw --no-transfer-progress --show-version help:effective-settings
./mvnw --no-transfer-progress --debug clean verify -Dpicnic.error-prone-support.version=0.19.0
- name: What is in javac.out
if: failure()
run: cat javac.out