better error message

This commit is contained in:
Domen Kožar 2021-04-02 17:26:53 +02:00
commit 2689c27f57
No known key found for this signature in database
GPG key ID: C2FFBCAFD2C24246
2 changed files with 2 additions and 2 deletions

View file

@ -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}`);