Skip to content

Commit

Permalink
Add Github Action to run package for PRs. (Bahmni#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
mddubey authored Jun 17, 2020
1 parent 82556ed commit 2eaef1c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/validate_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Java CI with Maven

on:
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: mvn clean package -Duser.timezone=IST

0 comments on commit 2eaef1c

Please sign in to comment.