Merge pull request #112 from league/fix-typo

Fix minor typo in message
This commit is contained in:
Domen Kožar 2022-03-30 09:54:35 +01:00 committed by GitHub
commit 257f7af635
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
dist/main/index.js vendored
View file

@ -1092,7 +1092,7 @@ function upload() {
yield exec.exec(`${__dirname}/push-paths.sh`, [cachixExecutable, cachixArgs, name, pathsToPush, pushFilter]); yield exec.exec(`${__dirname}/push-paths.sh`, [cachixExecutable, cachixArgs, name, pathsToPush, pushFilter]);
} }
else { else {
core.info('Pushing is disabled as signingKey nor authToken are set (or are emtpy?) in your YAML file.'); core.info('Pushing is disabled as signingKey nor authToken are set (or are empty?) in your YAML file.');
} }
} }
catch (error) { catch (error) {

View file

@ -61,7 +61,7 @@ async function upload() {
} else if (signingKey !== "" || authToken !== "") { } else if (signingKey !== "" || authToken !== "") {
await exec.exec(`${__dirname}/push-paths.sh`, [cachixExecutable, cachixArgs, name, pathsToPush, pushFilter]); await exec.exec(`${__dirname}/push-paths.sh`, [cachixExecutable, cachixArgs, name, pathsToPush, pushFilter]);
} else { } else {
core.info('Pushing is disabled as signingKey nor authToken are set (or are emtpy?) in your YAML file.'); core.info('Pushing is disabled as signingKey nor authToken are set (or are empty?) in your YAML file.');
} }
} catch (error) { } catch (error) {
core.setFailed(`Action failed with error: ${error}`); core.setFailed(`Action failed with error: ${error}`);