Update index.js

This commit is contained in:
Nova Cat 2025-01-20 22:32:25 -08:00
parent c80e174777
commit 22a8ea2dd1

View file

@ -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!");
} }