Skip to content

Commit

Permalink
Merge pull request #20 from Optum/vars
Browse files Browse the repository at this point in the history
vars
  • Loading branch information
JohnMThayer authored Oct 25, 2024
2 parents 9a7e672 + 5c6233f commit f898d3f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/maven-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ jobs:
with:
java-version: ${{ matrix.java }}
server-id: ossrh
server-username: ${{ secrets.OSSRH_USERNAME}}
server-password: ${{ secrets.OSSRH_PASSWORD}}
server-username: OSSRH_USERNAME
server-password: OSSRH_PASSWORD
gpg-private-key: ${{ secrets.SONATYPE_GPG_PRIVATE_KEY }}
gpg-passphrase: SONATYPE_GPG_PASSPHRASE
- name: Build Maven Project
Expand All @@ -60,10 +60,10 @@ jobs:
- name: Build Maven Project and Deploy to Sonatype OSSRH
if: success() && (github.event_name == 'push' && matrix.java == env.PRIMARY_JAVA_VERSION)
run: ./mvnw --batch-mode deploy -D ci.deploy
# env:
# OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
# OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
# SONATYPE_GPG_PASSPHRASE: ${{ secrets.SONATYPE_GPG_PASSPHRASE }}
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
SONATYPE_GPG_PASSPHRASE: ${{ secrets.SONATYPE_GPG_PASSPHRASE }}
- name: Publish Test Report
if: always()
continue-on-error: true
Expand Down

0 comments on commit f898d3f

Please sign in to comment.