From 9f16debd75ddd956468f68edf690a8daf848edc8 Mon Sep 17 00:00:00 2001 From: YHH <359807859@qq.com> Date: Thu, 16 Oct 2025 20:54:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Erust=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E7=BC=93=E5=AD=98=E5=92=8Cts=E6=9E=84=E5=BB=BA=E7=BC=93?= =?UTF-8?q?=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release-editor.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/release-editor.yml b/.github/workflows/release-editor.yml index 99b32cf1..9300dd64 100644 --- a/.github/workflows/release-editor.yml +++ b/.github/workflows/release-editor.yml @@ -44,6 +44,12 @@ jobs: with: targets: ${{ matrix.target }} + - name: Rust cache + uses: Swatinem/rust-cache@v2 + with: + workspaces: packages/editor-app/src-tauri + cache-on-failure: true + - name: Install dependencies (Ubuntu) if: matrix.platform == 'ubuntu-latest' run: | @@ -53,6 +59,16 @@ jobs: - name: Install frontend dependencies run: npm ci + - name: Cache TypeScript build + uses: actions/cache@v4 + with: + path: | + packages/core/bin + packages/editor-core/dist + key: ${{ runner.os }}-ts-build-${{ hashFiles('packages/core/src/**', 'packages/editor-core/src/**') }} + restore-keys: | + ${{ runner.os }}-ts-build- + - name: Build core package run: npm run build:core