Skip to content

Commit

Permalink
Install .NET SDKs in C:\Program Files\dotnet.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddunkin committed Jan 31, 2024
1 parent eefca2c commit e848321
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions windows/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ RUN `
# Install supported .NET SDKs
RUN `
curl -fSLO https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1 `
&& powershell .\dotnet-install.ps1 -Channel 6.0 `
&& powershell .\dotnet-install.ps1 -Channel 7.0 `
&& powershell .\dotnet-install.ps1 -Channel 8.0 `
&& powershell .\dotnet-install.ps1 -Channel 6.0 -InstallDir "\"C:\Program Files\dotnet\\"" `
&& powershell .\dotnet-install.ps1 -Channel 7.0 -InstallDir "\"C:\Program Files\dotnet\\"" `
&& powershell .\dotnet-install.ps1 -Channel 8.0 -InstallDir "\"C:\Program Files\dotnet\\"" `
&& del dotnet-install.ps1
WORKDIR /actions-runner
Expand Down

0 comments on commit e848321

Please sign in to comment.