Skip to content

Commit 92276b8

Browse files
committed
👷 支持universal-apple-darwin目标
1 parent 32ffbde commit 92276b8

File tree

1 file changed

+5
-32
lines changed

1 file changed

+5
-32
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -157,40 +157,13 @@ jobs:
157157
matrix:
158158
include:
159159
- platform: "ubuntu-22.04"
160-
dist: "src-tauri/target/release/bundle/**/*.{deb,AppImage,rpm,sig}"
161-
# - platform: "ubuntu-22.04"
162-
# dist: "src-tauri/target/release/bundle/**/*.{deb,AppImage,rpm,sig}"
163-
# variant: "foss"
160+
dist: "src-tauri/target/**/bundle/**/*.{deb,AppImage,rpm,sig}"
164161
- platform: "windows-latest"
165-
dist: "src-tauri/target/release/bundle/nsis"
166-
# - platform: "windows-latest"
167-
# dist: "src-tauri/target/release/bundle/nsis"
168-
# variant: "foss"
169-
# - platform: "windows-latest"
170-
# dist: "src-tauri/target/release/bundle/nsis"
171-
# variant: "win7"
162+
dist: "src-tauri/target/**/bundle/nsis"
172163
- platform: "macos-latest"
173-
args: "--target aarch64-apple-darwin"
174-
rust_targets: "aarch64-apple-darwin"
175-
dist: "src-tauri/target/aarch64-apple-darwin/release/bundle/**/*.{dmg,tar.gz,sig}"
176-
# - platform: "macos-latest"
177-
# args: "--target aarch64-apple-darwin"
178-
# rust_targets: "aarch64-apple-darwin"
179-
# dist: "src-tauri/target/aarch64-apple-darwin/release/bundle/**/*.{dmg,tar.gz,sig}"
180-
# variant: "foss"
181-
- platform: "macos-latest"
182-
args: "--target x86_64-apple-darwin"
183-
rust_targets: "x86_64-apple-darwin"
184-
dist: "src-tauri/target/x86_64-apple-darwin/release/bundle/**/*.{dmg,tar.gz,sig}"
185-
# - platform: "macos-latest"
186-
# args: "--target x86_64-apple-darwin"
187-
# rust_targets: "x86_64-apple-darwin"
188-
# dist: "src-tauri/target/x86_64-apple-darwin/release/bundle/**/*.{dmg,tar.gz,sig}"
189-
# variant: "foss"
190-
# - platform: "ubuntu-22.04"
191-
# rust_targets: "armv7-linux-androideabi,i686-linux-android,x86_64-linux-android,aarch64-linux-android"
192-
# android: true
193-
# dist_dir: "src-tauri/gen/android/app/build/outputs/apk/universal/release"
164+
args: "--target universal-apple-darwin"
165+
rust_targets: "aarch64-apple-darwin,x86_64-apple-darwin"
166+
dist: "src-tauri/target/**/bundle/**/*.{dmg,tar.gz,sig}"
194167

195168
runs-on: ${{ matrix.platform }}
196169
steps:

0 commit comments

Comments
 (0)