CI: Update Workflows (#1879)

* Update Workflows

#1875

* Updated requested changes
This commit is contained in:
Subhrodip Mohanta
2021-10-28 00:14:00 +05:30
committed by GitHub
parent bee1283371
commit 72bb189dc0
2 changed files with 38 additions and 22 deletions

View File

@ -34,11 +34,13 @@ on:
jobs:
build:
name: Build JDP
runs-on: ubuntu-20.04
strategy:
matrix:
java-version: [ 11.0.3, 11 ]
steps:
- name: Checkout Code
uses: actions/checkout@v2
@ -47,14 +49,7 @@ jobs:
with:
java-version: ${{ matrix.java-version }}
distribution: 'zulu'
- name: Cache Maven Dependecies
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
cache: 'maven'
# Some tests need screen access
- name: Install xvfb