Skip to content

Commit 3969054

Browse files
committed
fix: 更新 CI 配置以支持 linux-fix 分支的推送
1 parent 8e5c43d commit 3969054

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: "Build Tauri App"
1+
name: 'Build Tauri App'
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, linux-fix]
66
pull_request:
77
branches: [main]
88
workflow_dispatch:
@@ -15,14 +15,14 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
include:
18-
- platform: "macos-latest"
19-
args: "--target aarch64-apple-darwin"
20-
- platform: "macos-latest"
21-
args: "--target x86_64-apple-darwin"
22-
- platform: "ubuntu-latest"
23-
args: ""
24-
- platform: "windows-latest"
25-
args: ""
18+
- platform: 'macos-latest'
19+
args: '--target aarch64-apple-darwin'
20+
- platform: 'macos-latest'
21+
args: '--target x86_64-apple-darwin'
22+
- platform: 'ubuntu-latest'
23+
args: ''
24+
- platform: 'windows-latest'
25+
args: ''
2626

2727
runs-on: ${{ matrix.platform }}
2828

@@ -49,7 +49,7 @@ jobs:
4949
- name: Rust cache
5050
uses: swatinem/rust-cache@v2
5151
with:
52-
workspaces: "./src-tauri -> target"
52+
workspaces: './src-tauri -> target'
5353

5454
- name: Setup pnpm
5555
uses: pnpm/action-setup@v5

0 commit comments

Comments
 (0)