From 9ab7b815ef502f25cc72aab15b13245db8b3f975 Mon Sep 17 00:00:00 2001 From: bidetofevil Date: Thu, 4 Jul 2024 11:08:29 -0700 Subject: [PATCH] Use token user and password for Sonatype publishing --- .github/workflows/build-rc-workflow.yml | 4 ++-- .github/workflows/pre-patch-workflow.yml | 4 ++-- .github/workflows/pre-release-workflow.yml | 4 ++-- .github/workflows/release-workflow.yml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-rc-workflow.yml b/.github/workflows/build-rc-workflow.yml index 6b57a33938..e2129a2c5d 100644 --- a/.github/workflows/build-rc-workflow.yml +++ b/.github/workflows/build-rc-workflow.yml @@ -1,8 +1,8 @@ name: Pre-Release - Create New Release Candidates env: - SONATYPE_USERNAME: embrace-io - SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + SONATYPE_USERNAME: ${{ secrets.SONATYPE_TOKEN_USER }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_TOKEN_USER_PASSWORD }} MAVEN_QA_USER: github MAVEN_QA_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} mavenSigningKeyId: ${{ secrets.MAVEN_ANDROID_SIGNING_KEY }} diff --git a/.github/workflows/pre-patch-workflow.yml b/.github/workflows/pre-patch-workflow.yml index bca4197087..cf0772f519 100644 --- a/.github/workflows/pre-patch-workflow.yml +++ b/.github/workflows/pre-patch-workflow.yml @@ -1,8 +1,8 @@ name: Patch - Create Release Candidate env: - SONATYPE_USERNAME: embrace-io - SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + SONATYPE_USERNAME: ${{ secrets.SONATYPE_TOKEN_USER }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_TOKEN_USER_PASSWORD }} MAVEN_QA_USER: github MAVEN_QA_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} mavenSigningKeyId: ${{ secrets.MAVEN_ANDROID_SIGNING_KEY }} diff --git a/.github/workflows/pre-release-workflow.yml b/.github/workflows/pre-release-workflow.yml index 6bd12342f2..bada39f9e2 100644 --- a/.github/workflows/pre-release-workflow.yml +++ b/.github/workflows/pre-release-workflow.yml @@ -1,8 +1,8 @@ name: Pre-Release - Cut Release Branch and Publish Release Candidate env: - SONATYPE_USERNAME: embrace-io - SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + SONATYPE_USERNAME: ${{ secrets.SONATYPE_TOKEN_USER }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_TOKEN_USER_PASSWORD }} MAVEN_QA_USER: github MAVEN_QA_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} mavenSigningKeyId: ${{ secrets.MAVEN_ANDROID_SIGNING_KEY }} diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release-workflow.yml index eb7a88f599..ce9b85aaaf 100644 --- a/.github/workflows/release-workflow.yml +++ b/.github/workflows/release-workflow.yml @@ -1,8 +1,8 @@ name: Release - Release RC and Update Documentation env: - SONATYPE_USERNAME: embrace-io - SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + SONATYPE_USERNAME: ${{ secrets.SONATYPE_TOKEN_USER }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_TOKEN_USER_PASSWORD }} MAVEN_QA_USER: github MAVEN_QA_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} mavenSigningKeyId: ${{ secrets.MAVEN_ANDROID_SIGNING_KEY }}