Skip to content

Commit e5ee684

Browse files
committed
Add matrix and button
1 parent 127d3ba commit e5ee684

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will build a Java project with Maven
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
33

4-
name: Java CI with Maven
4+
name: Continous Integration
55

66
on:
77
push:
@@ -11,14 +11,20 @@ on:
1111

1212
jobs:
1313
build-test:
14-
runs-on: ubuntu-latest
15-
14+
runs-on: ubuntu-20.04
15+
name: Java ${{ matrix.java }} Test
16+
strategy:
17+
matrix:
18+
# test against latest update of each major Java version, as well as specific updates of LTS versions:
19+
java: [ 8, 10, 11, 12, 13 ]
1620
steps:
1721
- uses: actions/checkout@v2
22+
1823
- name: Set up JDK 1.8
1924
uses: actions/setup-java@v1
2025
with:
21-
java-version: 1.8
26+
java-version: ${{ matrix.java }}
27+
2228
- name: Build with Maven
2329
run: mvn -B package --file pom.xml
2430

@@ -28,7 +34,7 @@ jobs:
2834
continuous-delivery:
2935
if: github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
3036
needs: build-test
31-
runs-on: ubuntu-latest
37+
runs-on: ubuntu-20.04
3238

3339
steps:
3440
- name: Check out Git repository

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![Build Status](https://github.com/Staffbase/plugins-sdk-java/workflows/Continous%20Integration/badge.svg)](https://github.com/Staffbase/plugins-sdk-java/actions)
2+
13
# Plugin SDK for Java
24

35
If you are developing your own plugin for your Staffbase app we describe the authentication flow of a plugin at https://developers.staffbase.com/guide/customplugin-overview/. While this documentation just covers the conceptual ideas of the interface of plugins though – the so called Plugin SSO – we want to provide a library to help you develop your first plugin for Staffbase even faster. This SDK provides the basic functionality to parse and verify a provided token for Java.

0 commit comments

Comments
 (0)