diff --git a/appveyor.yml b/appveyor.yml index 76a5c99af..e39c9cd1a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -83,8 +83,8 @@ ( if [%COMPILER%]==[gcc] if [%ARTIFACT%]==[true] ECHO Creating artifacts && ECHO %cd% && - make clean && - 7z a -ttar zstd-src.tar * && + git clone --depth 1 --branch %APPVEYOR_REPO_BRANCH% https://github.com/facebook/zstd" + 7z a -ttar zstd-src.tar zstd && lib\dll\example\build_package.bat && cd programs\ && make DEBUGFLAGS= clean zstd && 7z a -tzip -mx9 zstd-win-binary-%PLATFORM%.zip zstd.exe &&