Skip to content

Commit e6b131e

Browse files
committed
fix(ci): use cargo tauri directly and fix asset name pattern
- Install tauri-cli via cargo install instead of relying on npm script - Use tauriScript: 'cargo tauri' so the action finds the CLI - Rename releaseAssetNamePattern to assetNamePattern (correct input name)
1 parent 5f8cc48 commit e6b131e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/dashboard-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,20 @@ jobs:
5454
- name: Install dependencies
5555
run: bun install
5656

57+
- name: Install Tauri CLI
58+
run: cargo install tauri-cli --version "^2"
59+
5760
- name: Build and upload artifacts
5861
uses: tauri-apps/tauri-action@v0
5962
timeout-minutes: 30
6063
with:
6164
projectPath: packages/dashboard
65+
tauriScript: cargo tauri
6266
args: --target ${{ matrix.settings.target }}
6367
updaterJsonPreferNsis: true
6468
tagName: ${{ github.ref_name }}
6569
releaseDraft: true
66-
releaseAssetNamePattern: magic-context-dashboard-[platform]-[arch][ext]
70+
assetNamePattern: magic-context-dashboard-[platform]-[arch][ext]
6771
env:
6872
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6973
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}

0 commit comments

Comments
 (0)