CI: Update Workflows (#1879)

* Update Workflows

#1875

* Updated requested changes
This commit is contained in:
Subhrodip Mohanta authored and GitHub committed 2021-10-27 21:44:00 +03:00
1 parent bee1283371
commit 72bb189dc0
2 files changed
+38 -22

No files matched your search

+3 -8
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