Skip to content

Commit

Permalink
resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim Lobanov authored Aug 2, 2021
1 parent 66f47c0 commit c1b33a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion images/win/scripts/Installers/Install-DotnetSDK.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function Fix-ImportPublishProfile (
$SdkVersion
) {
if (Test-IsWin16 -or Test-IsWin19) {
# Fix for issue 1276. This will be fixed in 3.1.
# Fix for issue https://github.com/dotnet/sdk/issues/1276. This will be fixed in 3.1.
$sdkTargetsName = "Microsoft.NET.Sdk.ImportPublishProfile.targets"
$sdkTargetsUrl = "https://raw.githubusercontent.com/dotnet/sdk/82bc30c99f1325dfaa7ad450be96857a4fca2845/src/Tasks/Microsoft.NET.Build.Tasks/targets/${sdkTargetsName}"
$sdkTargetsPath = "C:\Program Files\dotnet\sdk\$sdkVersion\Sdks\Microsoft.NET.Sdk\targets"
Expand Down
6 changes: 3 additions & 3 deletions images/win/scripts/Installers/Update-ImageData.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ $imageVersion = $env:IMAGE_VERSION
$imageDataFile = $env:IMAGEDATA_FILE
$githubUrl="https://github.com/actions/virtual-environments/blob"

if ($caption -match "2022") {
if (Test-IsWin22) {
$imageLabel = "windows-2022"
$softwareUrl = "${githubUrl}/win22/${imageVersion}/images/win/Windows2022-Readme.md"
$releaseUrl="https://github.com/actions/virtual-environments/releases/tag/win22%2F${imageVersion}"
} elseif ($caption -match "2019") {
} elseif (Test-IsWin19) {
$imageLabel = "windows-2019"
$softwareUrl = "${githubUrl}/win19/${imageVersion}/images/win/Windows2019-Readme.md"
$releaseUrl="https://github.com/actions/virtual-environments/releases/tag/win19%2F${imageVersion}"
} elseif ($caption -match "2016") {
} elseif (Test-IsWin16) {
$imageLabel = "windows-2016"
$softwareUrl = "${githubUrl}/win16/${imageVersion}/images/win/Windows2016-Readme.md"
$releaseUrl="https://github.com/actions/virtual-environments/releases/tag/win16%2F${imageVersion}"
Expand Down

0 comments on commit c1b33a5

Please sign in to comment.