This is an automated email from the ASF dual-hosted git repository. abhi pushed a commit to branch ranger-4752 in repository https://gitbox.apache.org/repos/asf/ranger.git
commit 3ab8f4ef2d035be5f7926e8d9e856f12079cf5e3 Author: Abhishek Kumar <[email protected]> AuthorDate: Tue Mar 19 15:52:34 2024 -0700 Update maven.yml --- .github/workflows/maven.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 8e21a946c..fa7eada8b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -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
