From d01905fe4f94577e2b558b7e4906d9ee9a95bc8d Mon Sep 17 00:00:00 2001 From: Marc Philipp Date: Thu, 9 Jan 2025 10:36:32 +0100 Subject: [PATCH] Inject Sonatype credentials --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b79bf6b2052..2b0546007916 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -118,7 +118,7 @@ jobs: release_staging_repo: name: Release staging repo - needs: [verify_reproducibility, verify_consumability, close_github_milestone] + needs: [ verify_reproducibility, verify_consumability, close_github_milestone ] runs-on: ubuntu-latest steps: - name: Check out repository @@ -128,6 +128,9 @@ jobs: ref: "refs/tags/${{ env.RELEASE_TAG }}" - name: Release staging repository uses: ./.github/actions/run-gradle + env: + ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }} + ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} with: encryptionKey: ${{ secrets.GRADLE_ENCRYPTION_KEY }} arguments: |