Skip to content

Commit

Permalink
maven file updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ucf4 committed Aug 21, 2024
1 parent 26b16e1 commit 23c3355
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/deploy-to-maven-central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: temurin

- name: Build and deploy to Maven Central
run: mvn deploy -DrepositoryId=sonatype -Durl=https://mvnrepository.com/gov.cdc.lib-hl7v2-nist-validator
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
- name: Build and deploy to Maven Central
run: mvn deploy -DrepositoryId=sonatype -Durl=https://mvnrepository.com/gov.cdc.lib-hl7v2-nist-validator
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}

0 comments on commit 23c3355

Please sign in to comment.