From 2689c27f57daedc905895d92ad18fe5ce470df9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 2 Apr 2021 17:26:53 +0200 Subject: [PATCH] better error message --- dist/main/index.js | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/main/index.js b/dist/main/index.js index 3894681d..24b504e1 100644 --- a/dist/main/index.js +++ b/dist/main/index.js @@ -1090,7 +1090,7 @@ function upload() { yield exec.exec(`${__dirname}/push-paths.sh`, [cachixExecutable, name, pushFilter]); } else { - core.info('Pushing is disabled as signing key nor auth token are set.'); + core.info('Pushing is disabled as signingKey nor authToken are set (or are emtpy?) in your YAML file.'); } } catch (error) { diff --git a/src/main.ts b/src/main.ts index fd010565..9547c8f8 100644 --- a/src/main.ts +++ b/src/main.ts @@ -59,7 +59,7 @@ async function upload() { } else if (signingKey !== "" || authToken !== "") { await exec.exec(`${__dirname}/push-paths.sh`, [cachixExecutable, name, pushFilter]); } else { - core.info('Pushing is disabled as signing key nor auth token are set.'); + core.info('Pushing is disabled as signingKey nor authToken are set (or are emtpy?) in your YAML file.'); } } catch (error) { core.setFailed(`Action failed with error: ${error}`);