Skip to content

Commit 0e058a9

Browse files
committed
Remove ::info:: log
1 parent 5321945 commit 0e058a9

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/actions/setup-build/action.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ runs:
7878
}
7979
}
8080
81-
Write-Output "::info::Build OS: $HostOS"
82-
Write-Output "::info::Build architecture: $HostArch"
83-
Write-Output "::info::Host OS: $HostOS"
84-
Write-Output "::info::Host architecture: $TargetArch"
81+
Write-Output "ℹ️ Host OS: $HostOS"
82+
Write-Output "ℹ️ Host architecture: $HostArch"
83+
Write-Output "ℹ️ Host OS: $HostOS"
84+
Write-Output "ℹ️ Host architecture: $TargetArch"
8585
8686
@"
8787
host-os=$HostOS
@@ -105,10 +105,10 @@ runs:
105105
$Win10SdkIncludeVersion = Join-Path $Win10SdkInclude $WinSdkVersionString
106106
107107
if (Test-Path -Path $Win10SdkIncludeVersion -PathType Container) {
108-
Write-Output "::info::Windows SDK ${WinSdkVersionString} already installed."
108+
Write-Output "ℹ️ MSVCPackageVersionWindows SDK ${WinSdkVersionString} already installed."
109109
} else {
110110
# Install the missing SDK.
111-
Write-Output "Installing Windows SDK ${WinSdkVersionString}..."
111+
Write-Output "ℹ️ Installing Windows SDK ${WinSdkVersionString}..."
112112
113113
$InstallerLocation = Join-Path "${env:ProgramFiles(x86)}" "Microsoft Visual Studio" "Installer"
114114
$VSWhere = Join-Path "${InstallerLocation}" "VSWhere.exe"
@@ -124,7 +124,7 @@ runs:
124124
$process.WaitForExit()
125125
126126
if (Test-Path -Path $Win10SdkIncludeVersion -PathType Container) {
127-
Write-Output "Windows SDK ${WinSdkVersionString} installed successfully."
127+
Write-Output "ℹ️ Windows SDK ${WinSdkVersionString} installed successfully."
128128
} else {
129129
Write-Output "::error::Failed to install Windows SDK ${WinSdkVersionString}."
130130
Write-Output "Installer log:"
@@ -144,7 +144,7 @@ runs:
144144
$IncludeDirVersion = [System.Version]::Parse($IncludeDirName)
145145
if ($IncludeDirVersion -gt $WinSdkVersion) {
146146
$LibDirVersion = Join-Path $Win10SdkLib $IncludeDirName
147-
Write-Output "Removing folders for Windows SDK ${IncludeDirVersion}."
147+
Write-Output "ℹ️ Removing folders for Windows SDK ${IncludeDirVersion}."
148148
Remove-Item -Path $_.FullName -Recurse -Force -ErrorAction Ignore
149149
Remove-Item -Path $LibDirVersion -Recurse -Force -ErrorAction Ignore
150150
}
@@ -172,7 +172,7 @@ runs:
172172
Get-ChildItem -Path $MSVCDir -Directory | ForEach-Object {
173173
$MSVCDirName = $_.Name
174174
if ($MSVCDirName.StartsWith($MSVCVersionString)) {
175-
Write-Output "::info::MSVC ${MSVCVersionString} already installed."
175+
Write-Output "ℹ️ MSVCPackageVersionMSVC ${MSVCVersionString} already installed."
176176
exit 0
177177
}
178178
}
@@ -190,7 +190,7 @@ runs:
190190
$MSVCPackageVersion = "${MajorVersion}.${MinorVersion}.${BuildVersion}.${RevisionVersion}"
191191
192192
# Install the missing MSVC version.
193-
Write-Output "Installing MSVC packages for ${MSVCPackageVersion}..."
193+
Write-Output "ℹ️ Installing MSVC packages for ${MSVCPackageVersion}..."
194194
$process = Start-Process "$VSInstaller" `
195195
-PassThru `
196196
-ArgumentList "modify", `
@@ -208,7 +208,7 @@ runs:
208208
foreach ($dir in Get-ChildItem -Path $MSVCDir -Directory) {
209209
$MSVCDirName = $dir.Name
210210
if ($MSVCDirName.StartsWith($MSVCVersionString)) {
211-
Write-Output "MSVC ${MSVCVersionString} installed successfully."
211+
Write-Output "ℹ️ MSVC ${MSVCVersionString} installed successfully."
212212
$MSVCDirFound = $true
213213
break
214214
}

.github/workflows/test-setup-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
7979
# Check if the correct MSVC version is installed.
8080
$InstallerLocation = Join-Path "${env:ProgramFiles(x86)}" "Microsoft Visual Studio" "Installer"
81-
SWhere = Join-Path "${InstallerLocation}" "vswhere.exe"
81+
$VSWhere = Join-Path "${InstallerLocation}" "vswhere.exe"
8282
$InstallPath = (& "$VSWhere" -latest -products * -format json | ConvertFrom-Json).installationPath
8383
$MSVCDir = Join-Path $InstallPath "VC" "Tools" "MSVC"
8484
$DirFound = $false

0 commit comments

Comments
 (0)