Skip to content

Commit 70a8e44

Browse files
authored
use 7z instead of System.IO.Compression.ZipFile in appveyor (#362)
1 parent 10e8226 commit 70a8e44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ on_finish:
5151
$stagingDirectory = (Resolve-Path ..).Path
5252
$zipFile = Join-Path $stagingDirectory "platyPS-$($env:APPVEYOR_BUILD_VERSION).zip"
5353
Add-Type -assemblyname System.IO.Compression.FileSystem
54-
[System.IO.Compression.ZipFile]::CreateFromDirectory("$pwd\out\platyPS", $zipFile)
54+
7z a -tzip $zipFile "$pwd\out\platyPS"
5555
@(
5656
# You can add other artifacts here
5757
(ls $zipFile),

0 commit comments

Comments
 (0)