mirror of
https://github.com/browser-use/browser-use
synced 2026-04-29 17:47:22 +02:00
fix(ci): Windows Unicode and macOS shell config issues
- Add PYTHONIOENCODING=utf-8 env for Windows to handle Unicode checkmarks and other special characters - Remove "Source shell config" steps that fail on missing files - Simplify to just "Add to PATH" since GITHUB_PATH is sufficient Fixes: UnicodeEncodeError on Windows for checkmark character Fixes: macOS failing on missing ~/.zshrc Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
9
.github/workflows/install-script.yml
vendored
9
.github/workflows/install-script.yml
vendored
@@ -48,9 +48,8 @@ jobs:
|
||||
- name: Run install.sh ${{ matrix.mode }}
|
||||
run: bash install.sh ${{ matrix.mode }}
|
||||
|
||||
- name: Source shell config
|
||||
- name: Add to PATH
|
||||
run: |
|
||||
source ~/.bashrc || true
|
||||
echo "$HOME/.browser-use-env/bin" >> $GITHUB_PATH
|
||||
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||
|
||||
@@ -119,9 +118,8 @@ jobs:
|
||||
- name: Run install.sh ${{ matrix.mode }}
|
||||
run: bash install.sh ${{ matrix.mode }}
|
||||
|
||||
- name: Source shell config
|
||||
- name: Add to PATH
|
||||
run: |
|
||||
source ~/.zshrc || source ~/.bashrc || true
|
||||
echo "$HOME/.browser-use-env/bin" >> $GITHUB_PATH
|
||||
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||
|
||||
@@ -183,6 +181,9 @@ jobs:
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
env:
|
||||
# Fix Unicode output on Windows (checkmarks, etc.)
|
||||
PYTHONIOENCODING: utf-8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user