Skip to content

Commit

Permalink
Update maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaab authored Mar 19, 2024
1 parent 8a3747e commit 3ab8f4e
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,26 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn clean install --no-transfer-progress -B -V
- name: Maven build
run: mvn clean install --no-transfer-progress -B -V

build-jdk11:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Maven build JDK 11
run: mvn clean install -P ranger-jdk11 -pl '!unixauthnative' --no-transfer-progress -B -V

0 comments on commit 3ab8f4e

Please sign in to comment.