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-08 14:24:17 +02:00
committed by GitHub
parent 9d71f0c2d5
commit c70d1c0f99

4
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 { exit } = require('process');
@@ -14,6 +15,7 @@ exec(`"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe" ${options} "${path}"`,
console.log(stderr);
}
)} else {
const code = 1;
console.error('Error: this action is only supported on Windows!')
code = 1; process.exit(code);
process.exit(code);
}