ci(windows): maintain SourceGit folder structure

This commit is contained in:
Gadfly 2025-03-10 15:30:25 +08:00
parent 2e51e8939b
commit 301f1065a7
No known key found for this signature in database

View file

@ -10,7 +10,7 @@ cd build
rm -rf SourceGit/*.pdb
if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" || "$OSTYPE" == "win32" ]]; then
powershell -Command "Compress-Archive -Path SourceGit\\* -DestinationPath \"sourcegit_$VERSION.$RUNTIME.zip\" -Force"
powershell -Command "Compress-Archive -Path SourceGit -DestinationPath \"sourcegit_$VERSION.$RUNTIME.zip\" -Force"
else
zip "sourcegit_$VERSION.$RUNTIME.zip" -r SourceGit
zip "sourcegit_$VERSION.$RUNTIME.zip" -r SourceGit
fi