Update index.js
This commit is contained in:
parent
920bb05739
commit
9c57302692
1 changed files with 1 additions and 2 deletions
3
index.js
3
index.js
|
@ -1,10 +1,9 @@
|
||||||
const { exec } = require('node:child_process');
|
const { exec } = require('node:child_process');
|
||||||
var additional = process.env.INPUT_ADDITIONAL;
|
var additional = process.env.INPUT_ADDITIONAL;
|
||||||
exec('apk add bash git ' + additional, (err, output) => {
|
exec('apk add bash git ' + additional, (err, output) => {
|
||||||
|
console.log(output);
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log("Something went wrong...");
|
console.log("Something went wrong...");
|
||||||
console.log(output);
|
|
||||||
process.exit(1);
|
|
||||||
} else {
|
} else {
|
||||||
console.log("Successfully installed packages!");
|
console.log("Successfully installed packages!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue