Skip to content

Commit

Permalink
Added Github Action Workflow for Build.
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Cortez <radcortez@yahoo.com>
  • Loading branch information
radcortez committed Mar 23, 2020
1 parent 23bcf4b commit 5b43796
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .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
1 change: 1 addition & 0 deletions pom.xml
Expand Up @@ -325,6 +325,7 @@
<exclude>.factorypath</exclude>
<exclude>.editorconfig</exclude>
<exclude>sandbox/**</exclude>
<exclude>.github/**</exclude>
</excludes>
</configuration>
</plugin>
Expand Down

0 comments on commit 5b43796

Please sign in to comment.