mirror of
https://github.com/actions/node-versions.git
synced 2025-04-20 02:43:49 +00:00
Update node-builder.psm1
This commit is contained in:
parent
58f5e6eb61
commit
fb203bee79
@ -87,8 +87,12 @@ class NodeBuilder {
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
Write-Host "Create WorkFolderLocation and ArtifactFolderLocation folders"
|
Write-Host "Create WorkFolderLocation and ArtifactFolderLocation folders"
|
||||||
|
if (-not (Test-Path -path $this.WorkFolderLocation)) {
|
||||||
New-Item -Path $this.WorkFolderLocation -ItemType "directory"
|
New-Item -Path $this.WorkFolderLocation -ItemType "directory"
|
||||||
|
}
|
||||||
|
if (-not (Test-Path -path $this.ArtifactFolderLocation)) {
|
||||||
New-Item -Path $this.ArtifactFolderLocation -ItemType "directory"
|
New-Item -Path $this.ArtifactFolderLocation -ItemType "directory"
|
||||||
|
}
|
||||||
|
|
||||||
Write-Host "Download Node.js $($this.Version) [$($this.Architecture)] executable..."
|
Write-Host "Download Node.js $($this.Version) [$($this.Architecture)] executable..."
|
||||||
$binariesArchivePath = $this.Download()
|
$binariesArchivePath = $this.Download()
|
||||||
|
Loading…
Reference in New Issue
Block a user