Update pom.xml #24
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: Deploy Maven Package | |
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: Build with mvn | |
run: mvn clean install | |
- name: Deploy to Github Packages | |
run: mvn -e deploy --settings .github/workflows/mvn-settings.xml | |
env: | |
GITHUB_TOKEN: '${{ secrets.LIB_GITHUB_TOKEN }}' |