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

release-app fix windows build

Louis Beaumont1bd7f17f9b91
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 7100e23ae..8380e0483 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -160,17 +160,35 @@ jobs:
Invoke-WebRequest https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-gnu/rustup-init.exe -OutFile rustup-init.exe
.\rustup-init.exe -y
- - uses: actions/cache@v4
+ - name: Rust Cache
+ uses: Swatinem/rust-cache@v2
with:
- path: |
+ # Specify custom cache key
+ key: ${{ runner.os }}-rust-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
+ # Cache these paths
+ cache-directories: |
~/.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
+ target/${{ matrix.target }}
+ screenpipe-app-tauri/src-tauri/target
+ # Shared cache across branches
+ shared-key: "rust-cache-${{ matrix.target }}"
+ # Save cache even on failed builds
+ save-if: true
+
+ - name: Cache Build Artifacts
+ uses: actions/cache@v4
+ with:
+ path: |
+ ~/.cargo/bin/
+ ~/.cargo/.crates.toml
+ ~/.cargo/.crates2.json
+ target/${{ matrix.target }}/release
+ screenpipe-app-tauri/src-tauri/target/release
+ key: ${{ runner.os }}-artifacts-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
- ${{ runner.os }}-${{ matrix.target }}-cargo-v1-
+ ${{ runner.os }}-artifacts-${{ matrix.target }}-
- name: Cache Homebrew packages
if: matrix.platform == 'macos-latest'
@@ -348,8 +366,8 @@ jobs:
if: matrix.tauri-args == '--target x86_64-pc-windows-msvc'
uses: actions/setup-python@v5
with:
- python-version: "3.11"
- cache: 'pip'
+ python-version: "3.10"
+ architecture: "x64"
- name: Copy library for MKL
if: matrix.tauri-args == '--target x86_64-pc-windows-msvc'
@@ -544,7 +562,6 @@ jobs:
# Verify installation
& "C:\Program Files\7-Zip\7z.exe" i
-
- name: Cache LLVM
if: matrix.tauri-args == '--target x86_64-pc-windows-msvc'
id: cache-llvm
@@ -587,8 +604,7 @@ jobs:
if: matrix.tauri-args == '--target x86_64-pc-windows-msvc'
uses: actions/setup-python@v5
with:
- python-version: "3.11"
- cache: 'pip'
+ python-version: "3.13"
- name: Copy library for MKL
if: matrix.tauri-args == '--target x86_64-pc-windows-msvc'
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 237c3187b..4ddc1c062 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.15.2"
+version = "0.15.3"
description = ""
authors = ["you"]
license = ""