From 07f2f56021d3d70329d5c10829565eda1555d264 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Tue, 12 May 2020 20:48:57 +0200 Subject: [PATCH] Update index --- dist/index.js | 2 +- src/main.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 0d27e52..a8b7561 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1062,8 +1062,8 @@ function run() { core.info('🛒 Setting outputs...'); core.setOutput('fingerprint', privateKey.fingerprint); core.setOutput('keyid', privateKey.keyID); - core.setOutput('email', privateKey.email); core.setOutput('name', privateKey.name); + core.setOutput('email', privateKey.email); if (git_user_signingkey) { core.info('🔐 Setting GPG signing keyID for this Git repository'); yield git.setConfig('user.signingkey', privateKey.keyID); diff --git a/src/main.ts b/src/main.ts index 7a6726b..07e2ed8 100644 --- a/src/main.ts +++ b/src/main.ts @@ -57,15 +57,15 @@ async function run(): Promise { core.info('🛒 Setting outputs...'); core.setOutput('fingerprint', privateKey.fingerprint); core.setOutput('keyid', privateKey.keyID); - core.setOutput('email', privateKey.email); core.setOutput('name', privateKey.name); + core.setOutput('email', privateKey.email); if (git_user_signingkey) { core.info('🔐 Setting GPG signing keyID for this Git repository'); await git.setConfig('user.signingkey', privateKey.keyID); - const user_email = git_committer_email || privateKey.email - const user_name = git_committer_name || privateKey.name + const user_email = git_committer_email || privateKey.email; + const user_name = git_committer_name || privateKey.name; if (git_committer_email != privateKey.email) { core.setFailed('Committer email does not match GPG key user address');