First clone main and then fetch desired commit

This commit is contained in:
Antoine Martin 2024-09-09 12:17:38 -04:00
parent 093b44d471
commit a4f2308194
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -21,7 +21,10 @@ jobs:
- name: Environment setup
run: apk add nodejs git zstd tar sed bash py3-httplib2
- name: Getting depot_tools
run: git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git -b $DEPOT_TOOLS_VER --depth 1 ./
run: |
git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools.git ./
git fetch --depth 1 origin $DEPOT_TOOLS_VER
git checkout $DEPOT_TOOLS_VER
- name: Fetching webrtc
run: |
echo "solutions = [{'name': 'src','url': 'https://github.com/signalapp/webrtc.git@$_webrtcver',}]" > .gclient