chore: update ci

This commit is contained in:
GyDi 2022-11-20 23:17:05 +08:00
parent 005eeb0e0b
commit 525e5f88ae
No known key found for this signature in database
GPG Key ID: 9C3AD40F1F99880A
3 changed files with 8 additions and 8 deletions

View File

@ -30,9 +30,9 @@ jobs:
override: true
- name: Rust Cache
uses: Swatinem/rust-cache@ce325b60658c1b38465c06cc965b79baf32c1e72
uses: Swatinem/rust-cache@v2
with:
working-directory: src-tauri
workspaces: src-tauri
- name: Install Node
uses: actions/setup-node@v1
@ -64,7 +64,7 @@ jobs:
yarn run check
- name: Tauri build
uses: tauri-apps/tauri-action@0e558392ccadcb49bcc89e7df15a400e8f0c954d
uses: tauri-apps/tauri-action@v0
# enable cache even though failed
# continue-on-error: true
env:

View File

@ -37,9 +37,9 @@ jobs:
override: true
- name: Rust Cache
uses: Swatinem/rust-cache@ce325b60658c1b38465c06cc965b79baf32c1e72
uses: Swatinem/rust-cache@v2
with:
working-directory: src-tauri
workspaces: src-tauri
- name: Install Node
uses: actions/setup-node@v1

View File

@ -45,9 +45,9 @@ jobs:
override: true
- name: Rust Cache
uses: Swatinem/rust-cache@v1
uses: Swatinem/rust-cache@v2
with:
working-directory: src-tauri
workspaces: src-tauri
- name: Install Node
uses: actions/setup-node@v1
@ -79,7 +79,7 @@ jobs:
yarn run check
- name: Tauri build
uses: tauri-apps/tauri-action@0e558392ccadcb49bcc89e7df15a400e8f0c954d
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}