diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index fd67ded..fe54ad6 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -251,7 +251,8 @@ jobs: ./build_win_ffmpeg.sh || exit 1 - name: Download certs run: | - CALL scripts\download_resource.bat -o "clib\ssl\cert.pem" https://curl.se/ca/cacert.pem || exit 1 + COPY /Y scripts\download_certs.bat || exit 1 + CALL download_certs.bat || exit 1 - name: Build run: | SET PKG_CONFIG_PATH=%CD%\clib\lib\pkgconfig diff --git a/scripts/download_certs.bat b/scripts/download_certs.bat new file mode 100644 index 0000000..bfaba05 --- /dev/null +++ b/scripts/download_certs.bat @@ -0,0 +1,7 @@ +@ECHO OFF +SETLOCAL +SET TOP=%CD% +SET SCRIPTS_DIR=%CD%\scripts +SET DOWNLOAD_RESOURCE=%SCRIPTS_DIR%\download_resource.bat +%DOWNLOAD_RESOURCE% -o "clib\ssl\cert.pem" "https://curl.se/ca/cacert.pem" || EXIT /B %ERRORLEVEL% +ENDLOCAL