Skip to content

Commit 334df56

Browse files
committed
update
1 parent bfef0e0 commit 334df56

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,20 @@ jobs:
5555
with:
5656
python-version: '3.x'
5757

58+
- name: Ensure gclient is available
59+
run: |
60+
if ! command -v gclient &> /dev/null; then
61+
current_dir=$(pwd)
62+
mkdir -p "$HOME/webrtc"
63+
cd "$HOME/webrtc"
64+
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
65+
export PATH="$PATH:$HOME/webrtc/depot_tools"
66+
cd "$current_dir"
67+
fi
68+
if [ -d "$HOME/webrtc/depot_tools" ]; then
69+
echo "$HOME/webrtc/depot_tools" >> "$GITHUB_PATH"
70+
fi
71+
5872
- name: "Build"
5973
env:
6074
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}

0 commit comments

Comments
 (0)