name: Maven CI

on: [push, pull_request, workflow_dispatch]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3.0.2
    - name: Set up JDK 11
      uses: actions/setup-java@v3
      with:
        distribution: 'adopt'
        java-version: 11
    - name: Install tools
      run: |
        sudo apt-get install jq
        wget -O ~/codacy-coverage-reporter-assembly.jar https://github.com/codacy/codacy-coverage-reporter/releases/download/4.0.5/codacy-coverage-reporter-4.0.5-assembly.jar
    - name: Build with Maven
      run: mvn clean install

name: Maven CI

on: [push, pull_request, workflow_dispatch]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3.0.2
    - name: Set up JDK 17
      uses: actions/setup-java@v3
      with:
        distribution: 'temurin'
        java-version: "17"
    - name: Install tools
      run: |
        sudo apt-get install jq
        wget -O ~/codacy-coverage-reporter-assembly.jar https://github.com/codacy/codacy-coverage-reporter/releases/download/4.0.5/codacy-coverage-reporter-4.0.5-assembly.jar
    - name: Build with Maven
      run: mvn clean install

Use temurin 17 in GHA workflow
Use temurin 17 in GHA workflow

Signed-off-by: nscuro <ba15e15f6c4f80b4be43321ea17661896df7a481@protonmail.com>
