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

Update index.js

This commit is contained in:
Minionguyjpro
2024-12-23 10:09:05 +01:00
committed by GitHub
parent 7245617ba9
commit 291611cab5

View File

@@ -3,7 +3,7 @@ const fs = require("fs").promises;
const { execFile } = require("child_process");
const workspacePath = process.env.GITHUB_WORKSPACE;
const options = core.getMultilineInput("options").join(" ");
const options = core.getMultilineInput("options");
const path = core.getInput("path");
let repoError;
@@ -25,7 +25,7 @@ async function run() {
if (workspaceExists && workspaceNotEmpty) {
execFile(
`${process.env["ProgramFiles(x86)"]}\\Inno Setup 6\\iscc.exe`,
[options, `${workspacePath}\\${path}`],
[...options, `${workspacePath}\\${path}`],
(execError, stdout, stderr) => {
console.log(stdout);
if (execError) {