Commit e132faa
fix: Preserve artifacts when building multiple platforms
The build script was deleting the out/ directory, which caused Linux
artifacts to be lost when building macOS afterwards in the same job.
Changes:
- Remove `rm -rf packages/bruno-electron/out` from build scripts
- Only clear packages/bruno-electron/web (source assets)
- Preserve packages/bruno-electron/out (build artifacts)
- Allows building multiple platforms sequentially without losing artifacts
This fixes the GitHub Actions workflow where we build:
1. Linux packages (AppImage, deb, rpm, snap)
2. macOS packages (x64 and ARM64 ZIPs)
Both in the same job without one overwriting the other's artifacts.
Applied to both .sh and .bat scripts for consistency.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent f49cc71 commit e132faa
2 files changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
| 37 | + | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
0 commit comments