diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bdec646..a292ccc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,6 +75,15 @@ jobs: - name: Install JS deps run: pnpm install --frozen-lockfile --prefer-offline + - name: Install Rust dependencies + run: cargo fetch --manifest-path src-tauri/Cargo.toml + + - name: Install Tauri CLI + uses: taiki-e/cache-cargo-install-action@v2 + with: + tool: tauri-cli@^2.0.0 + locked: true + - name: Install Linux dependencies if: runner.os == 'Linux' run: | @@ -90,11 +99,11 @@ jobs: - name: Build app (tauri - host) if: matrix.target == '' - run: pnpm tauri build + run: cargo tauri build - name: Build app (tauri - target) if: matrix.target != '' - run: pnpm tauri build --target ${{ matrix.target }} + run: cargo tauri build --target ${{ matrix.target }} - name: Upload binary artifact uses: actions/upload-artifact@v4