mirror of
https://github.com/taiki-e/install-action.git
synced 2025-12-27 01:54:13 -05:00
17 lines
335 B
JavaScript
17 lines
335 B
JavaScript
const { execFileSync } = require('child_process');
|
|
|
|
function main() {
|
|
try {
|
|
execFileSync(
|
|
'bash',
|
|
['--noprofile', '--norc', `${__dirname}/main.sh`],
|
|
{ stdio: 'inherit' }
|
|
);
|
|
} catch (e) {
|
|
console.log(`::error::${e.message}`);
|
|
process.exit(1);
|
|
}
|
|
}
|
|
|
|
main();
|