Update index.js

This commit is contained in:
Nova Cat 2025-01-20 22:23:40 -08:00
parent 920bb05739
commit 9c57302692

View file

@ -1,10 +1,9 @@
const { exec } = require('node:child_process');
var additional = process.env.INPUT_ADDITIONAL;
exec('apk add bash git ' + additional, (err, output) => {
console.log(output);
if (err) {
console.log("Something went wrong...");
console.log(output);
process.exit(1);
} else {
console.log("Successfully installed packages!");
}