Skip to content

Commit

Permalink
Revert "fix: Add aws cli to system path (#779)"
Browse files Browse the repository at this point in the history
This reverts commit b9f0563.
  • Loading branch information
sky1122 authored Nov 26, 2024
1 parent d28d426 commit 391d554
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions scripts/windows-runner-user-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,6 @@ tasks:
aws --version
Remove-Item AWSCLIV2.msi
# Add AWS CLI to PATH
$awsPath = "C:\Program Files\Amazon\AWSCLIV2"
$currentPath = [Environment]::GetEnvironmentVariable("Path", "Machine")
$newPath = "$currentPath;$awsPath"
[Environment]::SetEnvironmentVariable("Path", $newPath, "Machine")
# Install Go
Invoke-WebRequest -Uri 'https://go.dev/dl/go1.23.3.windows-amd64.msi' -OutFile 'go1.23.3.windows-amd64.msi'
Start-Process msiexec.exe -Wait -ArgumentList '/I C:\Users\Administrator\setup\go1.23.3.windows-amd64.msi /quiet'
Expand Down

0 comments on commit 391d554

Please sign in to comment.