test: change ci

This commit is contained in:
GyDi 2021-12-24 23:05:35 +08:00
parent 5228e33d08
commit 40b0d29997
2 changed files with 3 additions and 2 deletions

View File

@ -39,6 +39,7 @@ jobs:
~/.cargo/registry/cache/ ~/.cargo/registry/cache/
~/.cargo/git/db/ ~/.cargo/git/db/
src-tauri/target/ src-tauri/target/
src-tauri/WixTools/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: install app dependencies and build it - name: install app dependencies and build it
run: yarn && yarn run predev run: yarn && yarn run predev

View File

@ -4,8 +4,8 @@
"license": "GPL-3.0", "license": "GPL-3.0",
"scripts": { "scripts": {
"tauri": "tauri", "tauri": "tauri",
"dev": "tauri dev", "dev": "cargo tauri dev",
"build": "tauri build", "build": "cargo tauri build",
"web:dev": "vite", "web:dev": "vite",
"web:build": "tsc && vite build", "web:build": "tsc && vite build",
"web:serve": "vite preview", "web:serve": "vite preview",