From 525e5f88ae47c45270ec44ff94cc484fdc447322 Mon Sep 17 00:00:00 2001 From: GyDi Date: Sun, 20 Nov 2022 23:17:05 +0800 Subject: [PATCH] chore: update ci --- .github/workflows/ci.yml | 6 +++--- .github/workflows/compatible.yml | 4 ++-- .github/workflows/test.yml | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8ec05a..f1b9cff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/.github/workflows/compatible.yml b/.github/workflows/compatible.yml index da7eb05..5296dc7 100644 --- a/.github/workflows/compatible.yml +++ b/.github/workflows/compatible.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 20cd6b0..bc9096e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }}