Skip to content

updated the pomfile with build task #2

updated the pomfile with build task

updated the pomfile with build task #2

name: Deploy to GitHub Packages
on:
push:
branches:
- testm
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: temurin
- name: Publish Package - lib-hl7v2-nist
run: mvn -B package
- name: Deploy to Github Packages
run: mvn deploy --settings .github/workflows/mvn-settings.xml
env:
LIB_GITHUB_ACTOR: '${{ secrets.LIB_GITHUB_ACTOR }}'
LIB_GITHUB_TOKEN: '${{ secrets.LIB_GITHUB_TOKEN }}'
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}