ljacqu/DependencyInjector

View on GitHub
.github/workflows/maven_jdk11.yml

Summary

Maintainability
Test Coverage
# Secondary build that builds the project with JDK 11. Note that the target in the pom.xml is still Java 8.

name: Java 11 build
on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4

      - name: Set up JDK 11
        uses: actions/setup-java@v4
        with:
          java-version: '11'
          distribution: 'adopt'

      - name: Build with Maven
        run: mvn -B --file pom.xml package