mirror of
https://github.com/actions/node-versions.git
synced 2025-07-12 02:17:28 +08:00
w
This commit is contained in:
parent
377c646d61
commit
8dae118225
@ -11,5 +11,5 @@ function Extract-7ZipArchive {
|
|||||||
)
|
)
|
||||||
|
|
||||||
Write-Debug "Extract $ArchivePath to $OutputDirectory"
|
Write-Debug "Extract $ArchivePath to $OutputDirectory"
|
||||||
7z x $ArchivePath -o"$OutputDirectory" -y
|
7z x $ArchivePath -o"$OutputDirectory" -y | Out-Null
|
||||||
}
|
}
|
@ -21,7 +21,5 @@ echo "Copy Node.js binaries to hostedtoolcache folder"
|
|||||||
cp -R ./* $NODE_TOOLCACHE_VERSION_ARCH_PATH
|
cp -R ./* $NODE_TOOLCACHE_VERSION_ARCH_PATH
|
||||||
rm $NODE_TOOLCACHE_VERSION_ARCH_PATH/setup.sh
|
rm $NODE_TOOLCACHE_VERSION_ARCH_PATH/setup.sh
|
||||||
|
|
||||||
ls $NODE_TOOLCACHE_VERSION_ARCH_PATH
|
|
||||||
|
|
||||||
echo "Create complete file"
|
echo "Create complete file"
|
||||||
touch $NODE_TOOLCACHE_VERSION_PATH/x64.complete
|
touch $NODE_TOOLCACHE_VERSION_PATH/x64.complete
|
||||||
|
@ -33,7 +33,5 @@ Write-Host "Copy Node.js binaries to hostedtoolcache folder"
|
|||||||
Copy-Item -Path * -Destination $NodeToolcacheArchitecturePath
|
Copy-Item -Path * -Destination $NodeToolcacheArchitecturePath
|
||||||
Remove-Item $NodeToolcacheArchitecturePath\setup.ps1 -Force | Out-Null
|
Remove-Item $NodeToolcacheArchitecturePath\setup.ps1 -Force | Out-Null
|
||||||
|
|
||||||
Get-ChildItem $NodeToolcacheArchitecturePath
|
|
||||||
|
|
||||||
Write-Host "Create complete file"
|
Write-Host "Create complete file"
|
||||||
New-Item -ItemType File -Path $NodeToolcacheVersionPath -Name "$Architecture.complete" | Out-Null
|
New-Item -ItemType File -Path $NodeToolcacheVersionPath -Name "$Architecture.complete" | Out-Null
|
Loading…
x
Reference in New Issue
Block a user