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

try to fix #432

Louis Beaumontc488d307e179
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index a134e9419..bfc69c7e0 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -122,14 +122,26 @@ jobs:
ls .
bun install
- # Run pre build
- - name: Run pre_build.js on ${{ matrix.platform }}
- shell: ${{ matrix.platform != 'windows-latest' && 'bash' || 'pwsh' }}
+ # Run pre build for non-Windows platforms
+ - name: Run pre_build.js (non-Windows)
+ if: runner.os != 'Windows'
+ shell: bash
+ env:
+ SKIP_SCREENPIPE_SETUP: true # avoid trying to copy screenpipe binaries, not yet built (next step)
+ run: |
+ bun ./scripts/pre_build.js ${{ matrix.pre-build-args }}
+ ls -R .
+ working-directory: ./screenpipe-app-tauri
+
+ # Run pre build for Windows
+ - name: Run pre_build.js (Windows)
+ if: runner.os == 'Windows'
+ shell: pwsh
env:
SKIP_SCREENPIPE_SETUP: true # avoid trying to copy screenpipe binaries, not yet built (next step)
run: |
- ${{ matrix.platform != 'windows-latest' && 'bun ./scripts/pre_build.js ${{ matrix.pre-build-args }}' || 'bun ./scripts/pre_build.js $env:pre_build_args' }}
- ${{ matrix.platform != 'windows-latest' && 'ls -R .' || 'Get-ChildItem -Recurse' }}
+ bun ./scripts/pre_build.js $env:pre_build_args
+ Get-ChildItem -Recurse
working-directory: ./screenpipe-app-tauri
- name: Verify Tesseract Installation