Added workflow config for builds on PR
Closes gh-16
This commit is contained in:
committed by
Eleftheria Stein-Kousathana
parent
f3f8c33b93
commit
3a92eb3bcf
@@ -81,4 +81,4 @@ jobs:
|
||||
with:
|
||||
java-version: 8
|
||||
- name: Deploy Schema
|
||||
run: echo Deploying Schema
|
||||
run: echo Deploying Schema
|
||||
|
||||
24
.github/workflows/pr-build-workflow.yml
vendored
Normal file
24
.github/workflows/pr-build-workflow.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: PR build
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
jdk: [8,9,10,11,12,14]
|
||||
fail-fast: false
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK ${{ matrix.jdk }}
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: ${{ matrix.jdk }}
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew clean build
|
||||
Reference in New Issue
Block a user