From e6fef082c641021c2c72266fe70c83a9476729d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Ribo=CC=81?= Date: Fri, 12 Jul 2024 10:46:58 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20improve=20env=20vars=20for=20ci=20pipeli?= =?UTF-8?q?ne=20in=20hl=20Signed-off-by:=20Javier=20Ribo=CC=81=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f35555988..c2b9eec09 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,8 +12,8 @@ concurrency: env: JAVA_VERSION: 17 - GITHUB_ACTOR: "hyperledger-bot" - GITHUB_ACTOR_EMAIL: "hyperledger-bot@hyperledger.org" + GITHUB_ACTOR: ${{ steps.import_gpg.outputs.name }} + GIT_AUTHOR_EMAIL: ${{ steps.import_gpg.outputs.email }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} @@ -39,14 +39,15 @@ jobs: submodules: recursive token: ${{ secrets.IDENTUS_CI }} fetch-depth: 0 - gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }} - gpg-passphrase: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} - name: "Install Java ${{ env.JAVA_VERSION }}" uses: actions/setup-java@v4 with: java-version: "${{ env.JAVA_VERSION }}" distribution: zulu + server-id: ossrh + server-username: ${{ secrets.OSSRH_USERNAME }} + server-password: ${{ secrets.OSSRH_PASSWORD }} gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }} gpg-passphrase: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}