test: rm cargo install

This commit is contained in:
GyDi 2021-12-24 02:36:43 +08:00
parent d80618e1fe
commit dff17d77e8
2 changed files with 1 additions and 3 deletions

View File

@ -21,8 +21,6 @@ jobs:
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
toolchain: stable toolchain: stable
- name: install tauri
run: cargo install tauri-cli --version ^1.0.0-beta
- name: install app dependencies and build it - name: install app dependencies and build it
run: yarn && yarn run predev && yarn build run: yarn && yarn run predev && yarn build
- uses: tauri-apps/tauri-action@v0 - uses: tauri-apps/tauri-action@v0
@ -34,4 +32,3 @@ jobs:
releaseBody: "This is a test release." releaseBody: "This is a test release."
releaseDraft: true releaseDraft: true
prerelease: false prerelease: false
tauriScript: "yarn build"

View File

@ -3,6 +3,7 @@
"version": "0.0.0", "version": "0.0.0",
"license": "GPL-3.0", "license": "GPL-3.0",
"scripts": { "scripts": {
"tauri": "tauri",
"dev": "cargo tauri dev", "dev": "cargo tauri dev",
"build": "cargo tauri build", "build": "cargo tauri build",
"web:dev": "vite", "web:dev": "vite",