Add windows support
felickz opened this issue · 0 comments
felickz commented
Error on windows runners
Error: Error: Unable to locate executable file: D:\a\Automapper.Sample\Automapper.Sample\component-detection. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.
Getting manifests from results
Error: ENOENT: no such file or directory, open './output.json'
at Object.openSync (node:fs:585:3)
at Object.readFileSync (node:fs:453:35)
at Function.<anonymous> (D:\a\_actions\advanced-security\component-detection-dependency-submission-action\v0.0.1\webpack:\component-detection-action\componentDetection.ts:73:1)
at Generator.next (<anonymous>)
at D:\a\_actions\advanced-security\component-detection-dependency-submission-action\v0.0.1\dist\index.js:23307:71
at new Promise (<anonymous>)
at __webpack_modules__.4878.__awaiter (D:\a\_actions\advanced-security\component-detection-dependency-submission-action\v0.0.1\dist\index.js:23303:[12](https://github.com/octodemo/Automapper.Sample/actions/runs/4889284343/jobs/8727665843#step:6:13))
at Function.getManifestsFromResults (D:\a\_actions\advanced-security\component-detection-dependency-submission-action\v0.0.1\dist\index.js:23370:[16](https://github.com/octodemo/Automapper.Sample/actions/runs/4889284343/jobs/8727665843#step:6:17))
at Function.<anonymous> (D:\a\_actions\advanced-security\component-detection-dependency-submission-action\v0.0.1\webpack:\component-detection-action\componentDetection.ts:28:1)
at Generator.next (<anonymous>)