electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.69k stars 1.74k forks source link

ENOTDIR error in CI breaking DMG build on command delete-keychain #8176

Closed BitHighlander closed 3 months ago

BitHighlander commented 7 months ago

version: 24.13.3 | 25.0.0-alpha.6

node stable

Electron: "electron": "22.0.0",

Im getting a failure in CI to build DMG objects. the .zip does not give this error.


  • executed        file=hdiutil
  • async task error  error=spawn ENOTDIR
  • executing       file=/usr/bin/security args=delete-keychain /var/folders/c9/jqpw9nhs7jj7vm5185nyw05h0000gn/T/99a0002ff15172e48d2ee78a3959d86e6398e6eb80b2e15514d10736cd1d943f.keychain
  • executed        file=/usr/bin/security
  ⨯ spawn ENOTDIR   failedTask=build stackTrace=Error: spawn ENOTDIR
    at ChildProcess.spawn (node:internal/child_process:414:11)
    at spawn (node:child_process:761:9)
    at execFile (node:child_process:351:17)```

The workflow can be found on branch feature-v3 on this repo for more context
https://github.com/keepkey/keepkey-desktop/blob/feature-v3/.github/workflows/build-electron.yml

build config
https://github.com/keepkey/keepkey-desktop/blob/feature-v3/packages/keepkey-desktop/package.json#L55
github-actions[bot] commented 5 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] commented 3 months ago

This issue was closed because it has been stalled for 30 days with no activity.