Skip to content

Commit a74c75e

Browse files
committed
👷 修改工作流
1 parent 6412ca0 commit a74c75e

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,13 @@ jobs:
157157
matrix:
158158
include:
159159
- platform: "ubuntu-22.04"
160-
dist: "src-tauri/target/**/bundle/**/*.{deb,AppImage,rpm,sig}"
160+
dist: "src-tauri/target/release/bundle/**/*.{deb,AppImage,rpm,sig}"
161161
- platform: "windows-latest"
162-
dist: "src-tauri/target/**/bundle/**/*.{exe,sig}"
162+
dist: "src-tauri/target/release/bundle/nsis"
163163
- platform: "macos-latest"
164164
args: "--target universal-apple-darwin"
165165
rust_targets: "aarch64-apple-darwin,x86_64-apple-darwin"
166-
dist: "src-tauri/target/**/bundle/**/*.{dmg,tar.gz,sig}"
166+
dist: "src-tauri/target/universal-apple-darwin/release/bundle/**/*.{dmg,tar.gz,sig}"
167167

168168
runs-on: ${{ matrix.platform }}
169169
steps:
@@ -276,9 +276,6 @@ jobs:
276276
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
277277
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
278278

279-
- name: target folder structure
280-
run: tree app/src-tauri/target
281-
282279
- name: MacOS - Rename app.tar.gz
283280
if: matrix.platform == 'macos-latest'
284281
run: |

0 commit comments

Comments
 (0)