Merge pull request #13 from actions/switch-to-7z-for-windows
Switch zip to 7z for windows
This commit is contained in:
commit
26e0d7c0ca
|
@ -27,7 +27,7 @@ class WinNodeBuilder : NodeBuilder {
|
||||||
) : Base($version, $platform, $architecture) {
|
) : Base($version, $platform, $architecture) {
|
||||||
$this.InstallationTemplateName = "win-setup-template.ps1"
|
$this.InstallationTemplateName = "win-setup-template.ps1"
|
||||||
$this.InstallationScriptName = "setup.ps1"
|
$this.InstallationScriptName = "setup.ps1"
|
||||||
$this.OutputArtifactName = "node-$Version-$Platform-$Architecture.zip"
|
$this.OutputArtifactName = "node-$Version-$Platform-$Architecture.7z"
|
||||||
}
|
}
|
||||||
|
|
||||||
[uri] GetBinariesUri() {
|
[uri] GetBinariesUri() {
|
||||||
|
@ -69,6 +69,6 @@ class WinNodeBuilder : NodeBuilder {
|
||||||
|
|
||||||
[void] ArchiveArtifact() {
|
[void] ArchiveArtifact() {
|
||||||
$OutputPath = Join-Path $this.ArtifactFolderLocation $this.OutputArtifactName
|
$OutputPath = Join-Path $this.ArtifactFolderLocation $this.OutputArtifactName
|
||||||
Create-SevenZipArchive -SourceFolder $this.WorkFolderLocation -ArchivePath $OutputPath
|
Create-SevenZipArchive -SourceFolder $this.WorkFolderLocation -ArchivePath $OutputPath -ArchiveType "7z"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue