Skip to content

Update README

Update README #45

# For every commit pushed to the master branch, or any change detected to dependencies in Maven,
# this will compile, package, test, and verify the master branch.
name: Build and Test
on:
push:
branches: ['master']
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
# Check out the code
- uses: actions/checkout@v2
# Set up Java 1.8 with Maven including a .m2/settings.xml file. See https://github.com/actions/setup-java
- name: Set up JDK 1.8 and Maven settings file
uses: actions/setup-java@v1
with:
java-version: 1.8
server-id: openmrs-repo-modules-pih-snapshots
server-username: BINTRAY_USERNAME
server-password: BINTRAY_PASSWORD
# Execute the Maven verify command to compile, test, and verify
- name: Maven Verify
run: mvn -B verify --file pom.xml
env:
BINTRAY_USERNAME: pih
BINTRAY_PASSWORD: ${{ secrets.BINTRAY_PASSWORD }}