Skip to content

Commit

Permalink
better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Apr 2, 2021
1 parent d2627f2 commit 2689c27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/main/index.js
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Expand Up @@ -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}`);
Expand Down

0 comments on commit 2689c27

Please sign in to comment.