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

Update index.js

This commit is contained in:
Minionguyjpro
2023-07-11 11:25:01 +02:00
committed by GitHub
parent 0b1b05bab7
commit fd2113f797

3
dist/index.js vendored
View File

@@ -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);
});