mirror of
https://codeberg.org/icewind/attic-action.git
synced 2026-06-03 09:34:11 +02:00
better error message
This commit is contained in:
parent
d2627f2819
commit
2689c27f57
2 changed files with 2 additions and 2 deletions
2
dist/main/index.js
vendored
2
dist/main/index.js
vendored
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue