Skip to content

Commit 6412ca0

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

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ jobs:
159159
- platform: "ubuntu-22.04"
160160
dist: "src-tauri/target/**/bundle/**/*.{deb,AppImage,rpm,sig}"
161161
- platform: "windows-latest"
162-
dist: "src-tauri/target/**/bundle/nsis"
162+
dist: "src-tauri/target/**/bundle/**/*.{exe,sig}"
163163
- platform: "macos-latest"
164164
args: "--target universal-apple-darwin"
165165
rust_targets: "aarch64-apple-darwin,x86_64-apple-darwin"
@@ -276,12 +276,15 @@ 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+
279282
- name: MacOS - Rename app.tar.gz
280283
if: matrix.platform == 'macos-latest'
281284
run: |
282285
cd app/src-tauri/target/*/release/bundle/macos
283-
mv *.app.tar.gz "Project Graph_${{ inputs.app_version }}_${{ startsWith(matrix.rust_targets, 'x86_64') && 'x64' || 'aarch64' }}.app.tar.gz"
284-
mv *.app.tar.gz.sig "Project Graph_${{ inputs.app_version }}_${{ startsWith(matrix.rust_targets, 'x86_64') && 'x64' || 'aarch64' }}.app.tar.gz.sig"
286+
mv *.app.tar.gz "Project Graph_${{ inputs.app_version }}_universal.app.tar.gz"
287+
mv *.app.tar.gz.sig "Project Graph_${{ inputs.app_version }}_universal.app.tar.gz.sig"
285288
- name: Linux - Rename rpm
286289
if: matrix.platform == 'ubuntu-22.04'
287290
run: |

0 commit comments

Comments
 (0)