fixed configAuthentication invokation

This commit is contained in:
Jared Petersen 2020-05-02 16:39:19 -07:00
parent 01f7e3b3fd
commit e09c5c7b0c
2 changed files with 6 additions and 6 deletions

View file

@ -26,17 +26,17 @@ async function run() {
core.getInput('server-username', {required: false}) || undefined;
const password =
core.getInput('server-password', {required: false}) || undefined;
const gpgPassphrase =
core.getInput('gpg-passphrase', {required: false}) || undefined;
const gpgPrivateKey =
core.getInput('gpg-private-key', {required: false}) || undefined;
const gpgPassphrase =
core.getInput('gpg-passphrase', {required: false}) || undefined;
await auth.configAuthentication(
id,
username,
password,
gpgPassphrase,
gpgPrivateKey
gpgPrivateKey,
gpgPassphrase
);
} catch (error) {
core.setFailed(error.message);