There was an error while loading. Please reload this page.
1 parent bfef0e0 commit 334df56Copy full SHA for 334df56
1 file changed
.github/workflows/build.yml
@@ -55,6 +55,20 @@ jobs:
55
with:
56
python-version: '3.x'
57
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
71
+
72
- name: "Build"
73
env:
74
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
0 commit comments