Skip to content

Switch to lower version of JVM to avoid mutli-jdk compliation issue #1567

Switch to lower version of JVM to avoid mutli-jdk compliation issue

Switch to lower version of JVM to avoid mutli-jdk compliation issue #1567

name: "Detect Breaking Changes"
on: [push, pull_request]
jobs:
detect-breaking-change:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: 11
- uses: gradle/gradle-build-action@v2
with:
arguments: japicmp
gradle-version: 8.2.1
build-root-directory: server
- if: failure()
run: cat server/build/reports/java-compatibility/report.txt
- if: failure()
uses: actions/upload-artifact@v4
with:
name: java-compatibility-report.html
path: ${{ github.workspace }}/server/build/reports/java-compatibility/report.html