Added workflow config for builds on PR

Closes gh-16
This commit is contained in:
Madhu Bhat 2020-04-21 15:34:38 +05:30 committed by Eleftheria Stein-Kousathana
parent f3f8c33b93
commit 3a92eb3bcf
3 changed files with 26 additions and 2 deletions

View File

@ -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
View 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

View File

@ -1,6 +1,6 @@
image::https://badges.gitter.im/Join%20Chat.svg[Gitter,link=https://gitter.im/spring-projects/spring-security?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge]
image:https://travis-ci.org/spring-projects-experimental/spring-authorization-server.svg?branch=master["Build Status", link="https://travis-ci.org/spring-projects-experimental/spring-authorization-server"]
image:https://github.com/spring-projects-experimental/spring-authorization-server/workflows/CI/badge.svg?branch=master["Build Status", link="https://github.com/spring-projects-experimental/spring-authorization-server/actions?query=workflow%3ACI"]
= Spring Authorization Server