Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

improve cache

Louis Beaumont49f9988c7759
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index a49c37778..69c5a9737 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -97,8 +97,15 @@ jobs:
- uses: actions/cache@v3
with:
- path: "**/node_modules"
- key: ${{ runner.os }}-modules-${{ hashFiles('**/bun.lockb') }}
+ path: |
+ ~/.cargo/registry/index/
+ ~/.cargo/registry/cache/
+ ~/.cargo/git/db/
+ target/${{ matrix.target }}/release/deps
+ target/${{ matrix.target }}/release/build
+ key: ${{ matrix.platform }}-${{ matrix.target }}-cargo-${{ hashFiles('**/Cargo.lock') }}-v1
+ restore-keys: |
+ ${{ runner.os }}-${{ matrix.target }}-cargo-v1-
- name: Cache Homebrew packages
if: matrix.platform == 'macos-latest'
@@ -123,18 +130,6 @@ jobs:
screenpipe-app-tauri/src-tauri/tesseract-*
key: ${{ matrix.platform }}-${{ matrix.target }}-pre-build
- - uses: actions/cache@v3
- with:
- path: |
- ~/.cargo/bin/
- ~/.cargo/registry/index/
- ~/.cargo/registry/cache/
- ~/.cargo/git/db/
- target/
- key: ${{ matrix.platform }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- restore-keys: |
- ${{ runner.os }}-cargo-
-
- name: Install Linux dependencies
if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'big-linux'
run: |