Skip to content

Commit d07505c

Browse files
ci: remove macOS x64 build (only arm64 + Windows)
1 parent f78510d commit d07505c

1 file changed

Lines changed: 1 addition & 30 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -38,34 +38,6 @@ jobs:
3838
name: macos-arm64
3939
path: src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/*.dmg
4040

41-
build-macos-x64:
42-
runs-on: macos-latest
43-
steps:
44-
- uses: actions/checkout@v4
45-
- uses: actions/setup-node@v4
46-
with:
47-
node-version: '20'
48-
- uses: oven-sh/setup-bun@v2
49-
- uses: dtolnay/rust-toolchain@stable
50-
with:
51-
targets: x86_64-apple-darwin
52-
- run: brew install pnpm
53-
- run: pnpm install
54-
- name: Build ai-engine for x86_64
55-
run: |
56-
cd packages/ai-engine
57-
bun install
58-
bun build src/cli.ts --compile --target=bun-darwin-x64 --outfile ../../src-tauri/bin/ai-engine-x86_64-apple-darwin
59-
- uses: tauri-apps/tauri-action@v0
60-
env:
61-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62-
with:
63-
args: --target x86_64-apple-darwin
64-
- uses: actions/upload-artifact@v4
65-
with:
66-
name: macos-x64
67-
path: src-tauri/target/x86_64-apple-darwin/release/bundle/dmg/*.dmg
68-
6941
build-windows:
7042
runs-on: windows-latest
7143
steps:
@@ -93,7 +65,7 @@ jobs:
9365
src-tauri/target/release/bundle/nsis/*.exe
9466
9567
release:
96-
needs: [build-macos-arm64, build-macos-x64, build-windows]
68+
needs: [build-macos-arm64, build-windows]
9769
runs-on: ubuntu-latest
9870
steps:
9971
- uses: actions/download-artifact@v4
@@ -115,7 +87,6 @@ jobs:
11587
11688
### 下载
11789
- **macOS (Apple Silicon)**: CreatorAI_*_aarch64.dmg
118-
- **macOS (Intel)**: CreatorAI_*_x64.dmg
11990
- **Windows**: CreatorAI_*_x64-setup.exe 或 .msi
12091
12192
### 更新内容

0 commit comments

Comments
 (0)