Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
louis030195 committed Jul 31, 2024
1 parent 47f23c2 commit 1472e04
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/release-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,22 @@ jobs:
# Run pre build
- name: Run pre_build.js on ${{ matrix.platform }}
shell: bash
run: bun ./scripts/pre_build.js ${{ matrix.pre-build-args }}
run: |
bun ./scripts/pre_build.js ${{ matrix.pre-build-args }}
ls -R .
working-directory: ./examples/apps/screenpipe-app-tauri

- name: Verify Tesseract Installation
if: matrix.platform == 'windows-latest'
shell: pwsh
run: |
$env:PATH += ";${{ github.workspace }}\examples\apps\screenpipe-app-tauri\src-tauri\tesseract"
tesseract --version
if ($LASTEXITCODE -ne 0) {
Write-Error "Tesseract is not properly installed or not in PATH"
exit 1
}
- name: Build CLI
shell: bash
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
],
"resources": {
"ffmpeg\\bin\\x64\\*": "./",
"ffmpeg\\lib\\*": "./"
"ffmpeg\\lib\\*": "./",
"tesseract\\*": "./"
}
}
}

0 comments on commit 1472e04

Please sign in to comment.