Skip to content

Commit 31cc929

Browse files
committed
chore: update CI workflow for Linux ARM build artifacts
- Modified the CI workflow to build the Tauri app without the debug flag for a release version. - Adjusted the artifact upload path to reflect the new output structure for release builds.
1 parent a3d182c commit 31cc929

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/ci-linux-arm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ jobs:
4646
run: bun install
4747

4848
- name: Build Tauri App
49-
run: bun tauri build --bundles deb --debug
49+
run: bun tauri build --bundles deb
5050

5151
- name: Upload build artifacts
5252
uses: actions/upload-artifact@v4
5353
with:
5454
name: Codexia-linux-arm
55-
path: src-tauri/target/debug/bundle/**/*.deb
55+
path: src-tauri/target/release/bundle/**/*.deb

src-tauri/src/lib.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ mod services;
88
mod state;
99
mod utils;
1010

11-
#[cfg(any(windows, target_os = "linux"))]
12-
use tauri_plugin_deep_link::DeepLinkExt;
13-
1411
use commands::{
1512
approve_execution, approve_patch, check_codex_version, close_session, delete_session_file,
1613
find_rollout_path_for_session, get_latest_session_id, get_running_sessions, get_session_files,
@@ -118,9 +115,8 @@ pub fn run() {
118115
.setup(|_app| {
119116
#[cfg(any(windows, target_os = "linux"))]
120117
{
121-
if let Err(err) = _app.deep_link().register_all() {
122-
eprintln!("Failed to register deep link schemes: {err}");
123-
}
118+
use tauri_plugin_deep_link::DeepLinkExt;
119+
_app.deep_link().register_all()?;
124120
}
125121

126122
tauri::async_runtime::spawn(async {

0 commit comments

Comments
 (0)