Skip to content

Merge pull request #46 from Bahmni/sort-by-bed-number #45

Merge pull request #46 from Bahmni/sort-by-bed-number

Merge pull request #46 from Bahmni/sort-by-bed-number #45

name: Build and Publish package
on:
push:
branches:
- main
- Bahmni-IPD-master
workflow_dispatch:
jobs:
build-publish-package:
name: Build and Publish package
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
server-id: nexus-sonatype
server-username: NEXUS_USERNAME
server-password: NEXUS_PASSWORD
- name: Build and deploy with Maven
run: ./mvnw --no-transfer-progress clean -U deploy
env:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}