Mount sonatype secrets in workflows.
MODIFY
.github/workflows/nightly.yaml
.github/workflows/nightly.yaml
@@ -151,6 +151,8 @@ jobs:
S3_BUILD_CACHE_SECRET_KEY: ${{ secrets.S3_BUILD_CACHE_SECRET_KEY }}
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }}
+ SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
+ SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
run: ./gradlew snapshot --stacktrace

MODIFY
.github/workflows/patch-release-build.yml
.github/workflows/patch-release-build.yml
@@ -72,6 +72,8 @@ jobs:
env:
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }}
+ SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
+ SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }}
GRGIT_USER: ${{ github.actor }}
GRGIT_PASS: ${{ secrets.GITHUB_TOKEN }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}

MODIFY
.github/workflows/release-build.yml
.github/workflows/release-build.yml
@@ -25,6 +25,8 @@ jobs:
env:
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }}
+ SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
+ SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }}
GRGIT_USER: ${{ github.actor }}
GRGIT_PASS: ${{ secrets.GITHUB_TOKEN }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}

Mount sonatype secrets in workflows. (#1847)