Update index.js
This commit is contained in:
parent
c80e174777
commit
22a8ea2dd1
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -1,9 +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);
|
||||||
} else {
|
} else {
|
||||||
console.log("Successfully installed packages!");
|
console.log("Successfully installed packages!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue