Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Trim whitespace from private key
Browse files Browse the repository at this point in the history
Fixes #10
  • Loading branch information
samuelmeuli committed Feb 21, 2020
1 parent b065c5c commit b838f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function runAction() {
const mavenGoalsPhases = getInput("maven_goals_phases", true);

// Import GPG key into keychain
const privateKey = getInput("gpg_private_key");
const privateKey = getInput("gpg_private_key").trim();
if (privateKey) {
// Make sure passphrase is provided
getInput("gpg_passphrase", true);
Expand Down

0 comments on commit b838f4b

Please sign in to comment.