1
0
mirror of https://github.com/Minionguyjpro/Inno-Setup-Action synced 2026-02-18 09:31:19 +01:00

[AUTO]Update CJS script

Files changed:
M	dist/index.js
M	src/index.js
This commit is contained in:
github-actions[bot]
2025-08-21 15:57:13 +00:00
parent 4cae520566
commit 7749f8ad32
2 changed files with 13 additions and 1 deletions

12
dist/index.js vendored
View File

@@ -27431,6 +27431,7 @@ var __webpack_exports__ = {};
const workspacePath = process.env.GITHUB_WORKSPACE;
const options = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getMultilineInput("options");
const path = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput("path");
@@ -27456,6 +27457,17 @@ async function run() {
str.replace(/(["'])/g, "$1"),
);
(0,child_process__WEBPACK_IMPORTED_MODULE_2__.exec)(
`winget install --id JRSoftware.InnoSetup -e -s winget -h`,
(execError, stdout, stderr) => {
console.log(stdout, stderr);
if (execError) {
_actions_core__WEBPACK_IMPORTED_MODULE_0__.setFailed(`Failed to install Inno Setup: ${stderr}`);
process.exit(execError.code || 1);
}
},
);
(0,child_process__WEBPACK_IMPORTED_MODULE_2__.execFile)(
`${process.env["ProgramFiles(x86)"]}\\Inno Setup 6\\iscc.exe`,
[...escapedOptions, `${workspacePath}\\${path}`],