File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
extension/BuildPhpExtension/private Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -108,13 +108,15 @@ function Add-Package {
108108 Add-Content " artifact=$artifact .zip" - Path $env: GITHUB_OUTPUT - Encoding utf8
109109 }
110110
111- 7z a - sdel " $artifact .zip" *
111+ Compress-Archive - Path * - DestinationPath " $artifact .zip"
112+ Remove-Item * - Recurse - Force - Exclude * .zip
112113
113114 Set-Location $currentDirectory
114115 New-Item - Path $currentDirectory \artifacts\logs - ItemType Directory - Force | Out-Null
115116 Copy-Item - Path build-*. txt - Destination artifacts\logs\ - Force
116117 Set-Location $currentDirectory \artifacts\logs
117- 7z a - sdel " $artifact .zip" *
118+ Compress-Archive - Path * - DestinationPath " $artifact .zip"
119+ Remove-Item * - Recurse - Force - Exclude * .zip
118120 Set-GAGroup end
119121 Add-BuildLog tick " Packaging" " Extension $ ( $Config.name ) packaged successfully"
120122 } catch {
You can’t perform that action at this time.
0 commit comments