File tree 1 file changed +16
-1
lines changed
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -75,13 +75,28 @@ jobs:
75
75
libsoup2.4-dev \
76
76
libjavascriptcoregtk-4.0-dev
77
77
78
+ - name : 安装 Rust
79
+ uses : actions-rs/toolchain@v1
80
+ with :
81
+ toolchain : stable
82
+ target : x86_64-apple-darwin
83
+ profile : minimal
84
+ override : true
85
+
86
+ - name : 安装 macOS 构建目标
87
+ if : matrix.os == 'macos-latest' || matrix.os == 'macos-11'
88
+ run : |
89
+ rustup target add x86_64-apple-darwin
90
+ rustup target add aarch64-apple-darwin
91
+
78
92
- name : 构建 Tauri 应用 (现代 macOS)
79
93
if : matrix.target == 'macos-modern'
80
94
uses : tauri-apps/tauri-action@v0
81
95
env :
82
96
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
83
97
with :
84
- args : --target universal-apple-darwin
98
+ args : --target "universal-apple-darwin"
99
+ includeDebug : false
85
100
86
101
- name : 构建 Tauri 应用 (Big Sur)
87
102
if : matrix.target == 'macos-bigsur'
You can’t perform that action at this time.
0 commit comments