diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e2c0229..4edd419 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,8 +30,8 @@ jobs: run: ./gradlew publish -PossrhUrl="$PUBLISH_RELEASE_REPO_URL" -PossrhUsername="$PUBLISH_REPO_USERNAME" -PossrhPassword="$PUBLISH_REPO_PASSWORD" -Psigning.keyId="$GPG_KEY_ID" -Psigning.password="$GPG_PASSPHRASE" -Psigning.secretKeyRingFile="$SIGN_FILE_PATH" env: PUBLISH_RELEASE_REPO_URL: https://oss.sonatype.org/service/local/staging/deploy/maven2/ - PUBLISH_REPO_USERNAME: ${{ secrets.PUBLISH_REPO_USERNAME }} - PUBLISH_REPO_PASSWORD: ${{ secrets.PUBLISH_REPO_PASSWORD }} + PUBLISH_REPO_USERNAME: ${{ secrets.SONATYPE_OSS_USERNAME }} + PUBLISH_REPO_PASSWORD: ${{ secrets.SONATYPE_OSS_PASSWORD }} GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }} GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} SIGN_FILE_PATH: "${{ github.workspace }}/.github/workflows/jcv_sign.gpg" diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 43fab34..9f3926f 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -30,8 +30,8 @@ jobs: run: ./gradlew publish -PossrhUrl="$PUBLISH_SNAPSHOT_REPO_URL" -PossrhUsername="$PUBLISH_REPO_USERNAME" -PossrhPassword="$PUBLISH_REPO_PASSWORD" -Psigning.keyId="$GPG_KEY_ID" -Psigning.password="$GPG_PASSPHRASE" -Psigning.secretKeyRingFile="$SIGN_FILE_PATH" env: PUBLISH_SNAPSHOT_REPO_URL: https://oss.sonatype.org/content/repositories/snapshots/ - PUBLISH_REPO_USERNAME: ${{ secrets.PUBLISH_REPO_USERNAME }} - PUBLISH_REPO_PASSWORD: ${{ secrets.PUBLISH_REPO_PASSWORD }} + PUBLISH_REPO_USERNAME: ${{ secrets.SONATYPE_OSS_USERNAME }} + PUBLISH_REPO_PASSWORD: ${{ secrets.SONATYPE_OSS_PASSWORD }} GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }} GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} SIGN_FILE_PATH: "${{ github.workspace }}/.github/workflows/jcv_sign.gpg"