From 5b43796abde5981406659586e528f5bfad418c9f Mon Sep 17 00:00:00 2001 From: Roberto Cortez Date: Mon, 23 Mar 2020 12:26:23 +0000 Subject: [PATCH] Added Github Action Workflow for Build. Signed-off-by: Roberto Cortez --- .github/workflows/build.yml | 47 +++++++++++++++++++++++++++++++++++++ pom.xml | 1 + 2 files changed, 48 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..06cf05a1 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,47 @@ +name: MicroProfile JWT Build + +on: + push: + paths-ignore: + - 'editorconfig' + - '.gitattributes' + - '.gitignore' + - 'CONTRIBUTING*' + - 'CODEOWNERS' + - 'KEYS' + - 'LICENSE' + - 'NOTICE' + - 'README*' + - 'site.yaml' + pull_request: + paths-ignore: + - 'editorconfig' + - '.gitattributes' + - '.gitignore' + - 'CONTRIBUTING*' + - 'CODEOWNERS' + - 'KEYS' + - 'LICENSE' + - 'NOTICE' + - 'README*' + - 'site.yaml' + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + java: [8, 11] + name: build with jdk ${{matrix.java}} + + steps: + - uses: actions/checkout@v2 + name: checkout + + - uses: actions/setup-java@v1.3.0 + name: set up jdk ${{matrix.java}} + with: + java-version: ${{matrix.java}} + + - name: build with maven + run: mvn verify diff --git a/pom.xml b/pom.xml index 479fe3e6..b8b50dfc 100644 --- a/pom.xml +++ b/pom.xml @@ -325,6 +325,7 @@ .factorypath .editorconfig sandbox/** + .github/**