Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

Fix macOS builds: use native runners instead of cross-compilation

Claude6e6faefcd2ae
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index bab3862f..8661d9a5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -9,8 +9,6 @@ on:
description: 'Release tag (e.g. v1.2.1)'
required: true
default: 'v1.2.1'
- schedule:
- - cron: '*/5 * * * *'
permissions:
contents: write
@@ -23,12 +21,16 @@ jobs:
include:
- platform: ubuntu-22.04
args: ''
+ rust_targets: ''
- platform: windows-latest
args: ''
+ rust_targets: ''
- platform: macos-14
args: '--target aarch64-apple-darwin'
- - platform: macos-14
+ rust_targets: 'aarch64-apple-darwin'
+ - platform: macos-13
args: '--target x86_64-apple-darwin'
+ rust_targets: 'x86_64-apple-darwin'
runs-on: ${{ matrix.platform }}
@@ -44,7 +46,7 @@ jobs:
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
- targets: ${{ matrix.platform == 'macos-14' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
+ targets: ${{ matrix.rust_targets }}
- name: Rust cache
uses: swatinem/rust-cache@v2