From 860f36be82bcf415f7d5a3aba10b6b30c1ddbca9 Mon Sep 17 00:00:00 2001 From: Russley Shaw Date: Wed, 25 Sep 2024 20:00:28 -0500 Subject: [PATCH] Update CI --- .github/workflows/publish.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 8c62e6b..2771537 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -32,12 +32,17 @@ jobs: - name: Setup Bun uses: oven-sh/setup-bun@v2 - - name: Install Rust stable + - name: install Rust stable uses: dtolnay/rust-toolchain@stable with: # Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds. targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} + - name: Rust cache + uses: swatinem/rust-cache@v2 + with: + workspaces: './src-tauri -> target' + - name: install dependencies (ubuntu only) if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above. run: |