Added workflow config for builds on PR
Closes gh-16
This commit is contained in:
parent
f3f8c33b93
commit
3a92eb3bcf
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
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user