mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-12 14:07:25 +00:00
fix: more verbose log message when failing to import pgp key
This commit is contained in:
parent
84508663e9
commit
9d4e007dd7
1 changed files with 2 additions and 2 deletions
|
|
@ -85,7 +85,7 @@ const verify = async (
|
||||||
path.join(__dirname, `${uploaderName}.SHA256SUM`),
|
path.join(__dirname, `${uploaderName}.SHA256SUM`),
|
||||||
], async (err, verifyResult) => {
|
], async (err, verifyResult) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
setFailure('Codecov: Error importing pgp key', failCi);
|
setFailure(`Codecov: Error importing pgp key: ${err.message}`, failCi);
|
||||||
}
|
}
|
||||||
core.info(verifyResult);
|
core.info(verifyResult);
|
||||||
await validateSha();
|
await validateSha();
|
||||||
|
|
@ -101,7 +101,7 @@ const verify = async (
|
||||||
path.join(__dirname, 'pgp_keys.asc'),
|
path.join(__dirname, 'pgp_keys.asc'),
|
||||||
], async (err, importResult) => {
|
], async (err, importResult) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
setFailure('Codecov: Error importing pgp key', failCi);
|
setFailure(`Codecov: Error importing pgp key: ${err.message}`, failCi);
|
||||||
}
|
}
|
||||||
core.info(importResult);
|
core.info(importResult);
|
||||||
verifySignature();
|
verifySignature();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue