From fc1fc86bc7874a9aac30dbe866a96cfee581db1c Mon Sep 17 00:00:00 2001 From: John Thayer <48101600+JohnMThayer@users.noreply.github.com> Date: Fri, 25 Oct 2024 14:10:48 -0500 Subject: [PATCH 1/2] New creds --- .github/workflows/maven-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-ci.yml b/.github/workflows/maven-ci.yml index 5491f91..953da78 100644 --- a/.github/workflows/maven-ci.yml +++ b/.github/workflows/maven-ci.yml @@ -50,8 +50,8 @@ jobs: with: java-version: ${{ matrix.java }} server-id: ossrh - server-username: SONATYPE_USERNAME - server-password: SONATYPE_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 From cf9f29bc05b9b4121ebe04cf76c2edfc3813724a Mon Sep 17 00:00:00 2001 From: John Thayer <48101600+JohnMThayer@users.noreply.github.com> Date: Fri, 25 Oct 2024 14:12:33 -0500 Subject: [PATCH 2/2] New creds --- .github/workflows/maven-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven-ci.yml b/.github/workflows/maven-ci.yml index 953da78..fb0bbca 100644 --- a/.github/workflows/maven-ci.yml +++ b/.github/workflows/maven-ci.yml @@ -50,8 +50,8 @@ jobs: with: java-version: ${{ matrix.java }} server-id: ossrh - server-username: OSSRH_USERNAME - server-password: OSSRH_PASSWORD + server-username: ${{ secrets.OSSRH_USERNAME}} + server-password: ${{ secrets.OSSRH_PASSWORD}} gpg-private-key: ${{ secrets.SONATYPE_GPG_PRIVATE_KEY }} gpg-passphrase: SONATYPE_GPG_PASSPHRASE - name: Build Maven Project @@ -61,8 +61,8 @@ jobs: if: success() && (github.event_name == 'push' && matrix.java == env.PRIMARY_JAVA_VERSION) run: ./mvnw --batch-mode deploy -D ci.deploy env: - SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} + OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} SONATYPE_GPG_PASSPHRASE: ${{ secrets.SONATYPE_GPG_PASSPHRASE }} - name: Publish Test Report if: always()