From 40b0d29997e44ec53adbd383576e196b546ee16a Mon Sep 17 00:00:00 2001 From: GyDi Date: Fri, 24 Dec 2021 23:05:35 +0800 Subject: [PATCH] test: change ci --- .github/workflows/test.yml | 1 + package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cb06bef..0af3b9a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,6 +39,7 @@ jobs: ~/.cargo/registry/cache/ ~/.cargo/git/db/ src-tauri/target/ + src-tauri/WixTools/ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: install app dependencies and build it run: yarn && yarn run predev diff --git a/package.json b/package.json index d6a9926..b944347 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "license": "GPL-3.0", "scripts": { "tauri": "tauri", - "dev": "tauri dev", - "build": "tauri build", + "dev": "cargo tauri dev", + "build": "cargo tauri build", "web:dev": "vite", "web:build": "tsc && vite build", "web:serve": "vite preview",