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 authored and bgrainger committed Feb 1, 2024
1 parent 78ba23e commit 746077a
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 746077a

Please sign in to comment.