From fd2113f797943879d834c8d5c242d730fc96fb1d Mon Sep 17 00:00:00 2001 From: Minionguyjpro Date: Tue, 11 Jul 2023 11:25:01 +0200 Subject: [PATCH] Update index.js --- dist/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index a008ed1..cfde3aa 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,4 +1,5 @@ const core = require('@actions/core'); +// eslint-disable-next-line no-unused-vars const github = require('@actions/github'); const workspacePath = process.env.GITHUB_WORKSPACE; @@ -14,7 +15,7 @@ if (process.platform === 'win32') { process.exit(code); } - exec(`"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe" ${options} "${path}"`, function (error, stdout, stderr) { + exec(`"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe" ${options} "${workspacePath}/${path}"`, function (error, stdout, stderr) { console.log(stdout); console.log(stderr); });