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 {
108
108
Add-Content " artifact=$artifact .zip" - Path $env: GITHUB_OUTPUT - Encoding utf8
109
109
}
110
110
111
- 7z a - sdel " $artifact .zip" *
111
+ Compress-Archive - Path * - DestinationPath " $artifact .zip"
112
+ Remove-Item * - Recurse - Force - Exclude * .zip
112
113
113
114
Set-Location $currentDirectory
114
115
New-Item - Path $currentDirectory \artifacts\logs - ItemType Directory - Force | Out-Null
115
116
Copy-Item - Path build-*. txt - Destination artifacts\logs\ - Force
116
117
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
118
120
Set-GAGroup end
119
121
Add-BuildLog tick " Packaging" " Extension $ ( $Config.name ) packaged successfully"
120
122
} catch {
You can’t perform that action at this time.
0 commit comments