diff --git a/dist/index.js b/dist/index.js index 8bcd89a..014684c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2,12 +2,13 @@ const core = require('@actions/core'); const github = require('@actions/github'); const { exit } = require('process'); +const options = core.getInput('options'); const path = core.getInput('path'); var exec = require('child_process').exec; if (process.platform === 'win32') { -exec(`"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe" "${path}"`, +exec(`"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe" ${options} "${path}"`, function (error, stdout, stderr) { console.log(stdout); console.log(stderr); @@ -15,4 +16,4 @@ exec(`"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe" "${path}"`, )} else { console.error('Error: this action is only supported on Windows!') code = 1; process.exit(code); -} \ No newline at end of file +}