mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
12 lines
385 B
PowerShell
12 lines
385 B
PowerShell
# Create Rust junction points to cargo and rustup folder
|
|
$cargoTarget = "$env:USERPROFILE\.cargo"
|
|
if (-not (Test-Path $cargoTarget))
|
|
{
|
|
New-Item -ItemType Junction -Path $cargoTarget -Target "C:\Rust\.cargo"
|
|
}
|
|
|
|
$rustupTarget = "$env:USERPROFILE\.rustup"
|
|
if (-not (Test-Path $rustupTarget))
|
|
{
|
|
New-Item -ItemType Junction -Path $rustupTarget -Target "C:\Rust\.rustup"
|
|
} |