From 9c4a114c940cd0a42ffa7c52fc3f9cde6343342d Mon Sep 17 00:00:00 2001 From: tt2468 Date: Mon, 3 Jan 2022 17:34:11 -0800 Subject: [PATCH] CI: Use specific branch instead of checkout Azure is a dumb platform, meaning `git` is randomly not found. So we'll just use something else then. --- CI/windows/prepare-obs-windows.cmd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CI/windows/prepare-obs-windows.cmd b/CI/windows/prepare-obs-windows.cmd index 9a7f7124..743c2445 100644 --- a/CI/windows/prepare-obs-windows.cmd +++ b/CI/windows/prepare-obs-windows.cmd @@ -5,7 +5,7 @@ SETLOCAL EnableDelayedExpansion REM If obs-studio directory does not exist, clone the git repo if not exist %OBS_PATH% ( echo obs-studio directory does not exist - git clone https://github.com/obsproject/obs-studio %OBS_PATH% + git clone -b 27.1.3 https://github.com/obsproject/obs-studio %OBS_PATH% cd /D %OBS_PATH%\ git describe --tags --abbrev=0 > "%OBS_PATH%\obs-studio-latest-tag.txt" REM set /p OBS_LATEST_TAG=<"%OBS_PATH%\obs-studio-latest-tag.txt" @@ -16,8 +16,8 @@ REM Prepare OBS Studio builds echo Running CMake... cd /D %OBS_PATH% -echo git checkout %OBS_LATEST_TAG% -git checkout %OBS_LATEST_TAG% +REM echo git checkout %OBS_LATEST_TAG% +REM git checkout %OBS_LATEST_TAG% echo: if not exist build32 mkdir build32