APIs to get unsynced beneficiaries and count of unsynced beneficiarie… #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Package | |
on: | |
push: | |
branches: [ "develop"] | |
paths-ignore: | |
- target/** | |
pull_request: | |
branches: [ "develop" ] | |
paths-ignore: | |
- target/** | |
env: | |
ENV_VAR: test | |
jobs: | |
Package-test: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup JDK 8 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 8 | |
distribution: 'adopt' | |
- name: Build with Maven | |
run: mvn clean install -DENV_VAR=${{ env.ENV_VAR }} | |
- name: Build WAR file | |
run: mvn -B package --file pom.xml | |
- name: Upload WAR file as artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Identity-API | |
path: target/identity-0.0.1.war |