diff --git a/.github/workflows/ccpp-windows.yml b/.github/workflows/ccpp-windows.yml index 89d3b70c..ba596ac7 100644 --- a/.github/workflows/ccpp-windows.yml +++ b/.github/workflows/ccpp-windows.yml @@ -11,11 +11,12 @@ jobs: - uses: actions/checkout@v1 - name: depot_tools run: git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools.git + - name: add depot_tools to PATH + run: echo "::add-path::$GITHUB_WORKSPACE/depot_tools" - name: fetch webrtc run: | git config --global core.autocrlf false git config --global core.filemode false - $env:Path += (Get-Location).path + "\depot_tools" mkdir ..\webrtc pushd ..\webrtc fetch --no-history webrtc @@ -26,7 +27,6 @@ jobs: PYTHONIOENCODING: UTF-8 - name: cmake run: | - $env:Path += (Get-Location).path + "\depot_tools" cmake -G Ninja -DCMAKE_C_COMPILER=clang-cl.exe -DCMAKE_CXX_COMPILER=clang-cl.exe . ninja - name: cpack