Skip to content

Commit

Permalink
feat: modify ci2
Browse files Browse the repository at this point in the history
  • Loading branch information
weileifrank committed Oct 31, 2024
1 parent b146855 commit ac99c0a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/ci/build/build_windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ copy result.zip %WORKSPACE%\\withAPIExample_%BUILD_NUMBER%_%zip_name%
del /F result.zip
del /F %WORKSPACE%\\%zip_name%

if %compile_project% EQU false goto FINAL
curl %sdk_url% -o %zip_name%
if %errorlevel% neq 0 (
echo Failed to download the file from %sdk_url%
exit /b 1
)
)else(
REM python %WORKSPACE%\\artifactory_utils.py --action=download_file --file=%sdk_url%
7z x ./%zip_name% -y

if %compile_project% EQU false goto FINAL
cd Agora_Native_SDK_for_Windows_FULL\samples\API-example
call cloud_build.bat
)

:FINAL

0 comments on commit ac99c0a

Please sign in to comment.