mirror of
https://github.com/Minionguyjpro/Inno-Setup-Action
synced 2026-02-19 01:41:19 +01:00
Update index.js
This commit is contained in:
@@ -3,7 +3,7 @@ const fs = require("fs").promises;
|
|||||||
const { execFile } = require("child_process");
|
const { execFile } = require("child_process");
|
||||||
|
|
||||||
const workspacePath = process.env.GITHUB_WORKSPACE;
|
const workspacePath = process.env.GITHUB_WORKSPACE;
|
||||||
const options = core.getMultilineInput("options").join(" ");
|
const options = core.getMultilineInput("options");
|
||||||
const path = core.getInput("path");
|
const path = core.getInput("path");
|
||||||
|
|
||||||
let repoError;
|
let repoError;
|
||||||
@@ -25,7 +25,7 @@ async function run() {
|
|||||||
if (workspaceExists && workspaceNotEmpty) {
|
if (workspaceExists && workspaceNotEmpty) {
|
||||||
execFile(
|
execFile(
|
||||||
`${process.env["ProgramFiles(x86)"]}\\Inno Setup 6\\iscc.exe`,
|
`${process.env["ProgramFiles(x86)"]}\\Inno Setup 6\\iscc.exe`,
|
||||||
[options, `${workspacePath}\\${path}`],
|
[...options, `${workspacePath}\\${path}`],
|
||||||
(execError, stdout, stderr) => {
|
(execError, stdout, stderr) => {
|
||||||
console.log(stdout);
|
console.log(stdout);
|
||||||
if (execError) {
|
if (execError) {
|
||||||
|
|||||||
Reference in New Issue
Block a user