mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-18 09:52:35 +00:00
feat: use node executor
This commit is contained in:
parent
7b883f8510
commit
f89b01aa7e
4 changed files with 34 additions and 6 deletions
8
src/index.js
Normal file
8
src/index.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
const { execSync } = require('child_process');
|
||||
|
||||
const cfg = process.env[`INPUT_CONFIGURATIONFILE`];
|
||||
const token = process.env[`INPUT_TOKEN`];
|
||||
const ws = process.env.GITHUB_WORKSPACE;
|
||||
|
||||
execSync(`bash -c ${ws}/src/entrypoint.sh '${cfg}' '${token}'`);
|
||||
Loading…
Add table
Add a link
Reference in a new issue