Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ucf4 committed Aug 27, 2024
1 parent 0d39805 commit aec4fa4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy-to-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
- name: Publish Package - lib-hl7v2-nist
run: mvn -B package

- name: Publish package to github Repo
run: mvn clean deploy --settings .github/workflows/mvn-settings.xml
env:
LIB_GITHUB_ACTOR: '${{ secrets.LIB_GITHUB_ACTOR }}'
LIB_GITHUB_TOKEN: '${{ secrets.LIB_GITHUB_TOKEN }}'
# - name: Publish package to github Repo
# run: mvn clean deploy --settings .github/workflows/mvn-settings.xml
# env:
# LIB_GITHUB_ACTOR: '${{ secrets.LIB_GITHUB_ACTOR }}'
# LIB_GITHUB_TOKEN: '${{ secrets.LIB_GITHUB_TOKEN }}'

- name: Publish package to Maven Central
run: mvn clean -X deploy --settings .github/workflows/mvn-settings.xml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mvn-settings.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
<servers>
<server>
<!--<server>
<id>github</id>
<username>${env.LIB_GITHUB_ACTOR}</username>
<password>${env.LIB_GITHUB_TOKEN}</password>
</server>
</server>-->
<server>
<id>central</id>
<username>${env.SONATYPE_USERNAME}</username>
Expand Down

0 comments on commit aec4fa4

Please sign in to comment.