Skip to content

Commit 1ae50f2

Browse files
Fix rollback of Bun version for Linux CI builds
Downgrades Bun from 1.3.0 to 1.2.12 in release workflow for Linux runners due to stability issues. Also enforces production JSX runtime for binary compilation. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
1 parent 43170c3 commit 1ae50f2

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/cli-release-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ jobs:
3737
bun_target: bun-linux-x64
3838
platform: linux
3939
arch: x64
40-
bun_version: '1.3.0'
40+
bun_version: '1.2.12'
4141
- os: ubuntu-latest
4242
target: linux-arm64
4343
bun_target: bun-linux-arm64
4444
platform: linux
4545
arch: arm64
46-
bun_version: '1.3.0' # Use stable 1.3.0 for arm64 support
46+
bun_version: '1.2.12'
4747
# Cross-compiles on x64 runner; binary can't be executed here.
4848
smoke_test: false
4949
- os: macos-13

bun.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli/scripts/build-binary.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ async function main() {
157157
`--outfile=${outputFile}`,
158158
'--sourcemap=none',
159159
'--jsx=react-jsx',
160+
'--jsx-development=false',
160161
'--jsx-import-source=@opentui/react',
161162
...defineFlags.flatMap(([key, value]) => ['--define', `${key}=${value}`]),
162163
]

0 commit comments

Comments
 (0)