We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ca3077 commit 4010e78Copy full SHA for 4010e78
1 file changed
.github/workflows/package.yml
@@ -249,7 +249,8 @@ jobs:
249
}
250
251
Remove-Item $PSModuleZipFilePath -ErrorAction SilentlyContinue | Out-Null
252
- Compress-Archive -Path $DGatewayPSModulePath -Destination $PSModuleZipFilePath -CompressionLevel Optimal
+ # For some reason, Compress-Archive is creating a corrupted archive.
253
+ 7z a -tzip -mx=9 -r -- "$PSModuleZipFilePath" "$DGatewayPSModulePath\*"
254
255
$PSModuleParentPath = Split-Path $DGatewayPSModulePath -Parent
256
0 commit comments