Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Env WIN_CSC_LINK is not correct #7

Open
linonetwo opened this issue Nov 24, 2024 · 0 comments
Open

Env WIN_CSC_LINK is not correct #7

linonetwo opened this issue Nov 24, 2024 · 0 comments

Comments

@linonetwo
Copy link

Only in Github Actions. Works correctly on local PC.

 Making a portable distributable for win32/x64
  • electron-builder  version=23.6.0 os=10.0.20348
  • artifacts will be published if draft release exists  reason=CI detected
  • building        target=portable file=out\make\Portable-TidGi-Windows-x64.exe archs=x64
  • default Electron icon is used  reason=application icon is not set
  • downloading     url=https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-3.0.4.1/nsis-3.0.4.1.7z size=1.3 MB parts=1
  • downloaded      url=https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-3.0.4.1/nsis-3.0.4.1.7z duration=143ms
✖ Making a portable distributable for win32/x64 [FAILED: Env WIN_CSC_LINK is not correct, cannot resolve: D:\a\TidGi-Desktop\TidGi-Desktop not a file]
✖ Making distributables [FAILED: Env WIN_CSC_LINK is not correct, cannot resolve: D:\a\TidGi-Desktop\TidGi-Desktop not a file]
An unhandled rejection has occurred inside Forge:
Error: Env WIN_CSC_LINK is not correct, cannot resolve: D:\a\TidGi-Desktop\TidGi-Desktop not a file
at D:\a\TidGi-Desktop\TidGi-Desktop\node_modules\.pnpm\[email protected]\node_modules\app-builder-lib\src\winPackager.ts:73:19
    at WinPackager.sign (D:\a\TidGi-Desktop\TidGi-Desktop\node_modules\.pnpm\[email protected]\node_modules\app-builder-lib\src\winPackager.ts:205:21)
    at AppPackageHelper.packArch (D:\a\TidGi-Desktop\TidGi-Desktop\node_modules\.pnpm\[email protected]\node_modules\app-builder-lib\src\targets\nsis\nsisUtil.ts:59:18)
    at D:\a\TidGi-Desktop\TidGi-Desktop\node_modules\.pnpm\[email protected]\node_modules\app-builder-lib\src\targets\nsis\NsisTarget.ts:232:26
From previous event:
    at processImmediate (node:internal/timers:483:21)
From previous event:
    at NsisTarget.buildInstaller (D:\a\TidGi-Desktop\TidGi-Desktop\node_modules\.pnpm\[email protected]\node_modules\app-builder-lib\src\targets\nsis\NsisTarget.ts:231:29)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at NsisTarget.finishBuild (D:\a\TidGi-Desktop\TidGi-Desktop\node_modules\.pnpm\[email protected]\node_modules\app-builder-lib\src\targets\nsis\NsisTarget.ts:133:9)
    at async Promise.all (index 1)
    at AsyncTaskManager.awaitTasks (D:\a\TidGi-Desktop\TidGi-Desktop\node_modules\.pnpm\[email protected]\node_modules\builder-util\src\asyncTaskManager.ts:65:25)
    at Packager.doBuild (D:\a\TidGi-Desktop\TidGi-Desktop\node_modules\.pnpm\[email protected]\node_modules\app-builder-lib\src\packager.ts:453:5)
    at Object.executeFinally (D:\a\TidGi-Desktop\TidGi-Desktop\node_modules\.pnpm\[email protected]\node_modules\builder-util\src\promise.ts:12:14)
    at Packager._build (D:\a\TidGi-Desktop\TidGi-Desktop\node_modules\.pnpm\[email protected]\node_modules\app-builder-lib\src\packager.ts:376:31)
    at Packager.build (D:\a\TidGi-Desktop\TidGi-Desktop\node_modules\.pnpm\[email protected]\node_modules\app-builder-lib\src\packager.ts:337:12)
    at Object.executeFinally (D:\a\TidGi-Desktop\TidGi-Desktop\node_modules\.pnpm\[email protected]\node_modules\builder-util\src\promise.ts:12:14)
    at D:\a\TidGi-Desktop\TidGi-Desktop\node_modules\.pnpm\@[email protected][email protected][email protected]\node_modules\@electron-forge\core\src\api\make.ts:280:41
    at _Task.taskFn (D:\a\TidGi-Desktop\TidGi-Desktop\node_modules\.pnpm\@[email protected]\node_modules\@electron-forge\tracer\src\index.ts:51:14)
    at _Task.run (D:\a\TidGi-Desktop\TidGi-Desktop\node_modules\.pnpm\[email protected]\node_modules\listr2\dist\index.cjs:2063:11)
25h ELIFECYCLE  Command failed with exit code 1.
Error: Process completed with exit code 1.
linonetwo added a commit to tiddly-gittly/TidGi-Desktop that referenced this issue Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant