From 110e8c201d5a929fc01e333ceac0dc71b0267237 Mon Sep 17 00:00:00 2001 From: Adonais Romero González Date: Tue, 6 Sep 2022 16:36:33 -0700 Subject: Miscellaneous build scripts fixes (#779) Fix actions: escape emoji characters; add small validations to build scripts --- .github/scripts/Build-ChangedProjects.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.github/scripts') diff --git a/.github/scripts/Build-ChangedProjects.ps1 b/.github/scripts/Build-ChangedProjects.ps1 index e163e5f9..a13e3501 100644 --- a/.github/scripts/Build-ChangedProjects.ps1 +++ b/.github/scripts/Build-ChangedProjects.ps1 @@ -9,7 +9,7 @@ $projectSet = @{} foreach ($file in $ChangedFiles) { if (-not (Test-Path $file)) { - Write-Output "❔ Changed file $file cannot be found" + Write-Output "`u{2754} Changed file $file cannot be found" continue } $dir = (Get-Item $file).DirectoryName @@ -19,11 +19,11 @@ foreach ($file in $ChangedFiles) } if ($dir -eq $root) { - Write-Output "❔ Changed file $file does not match a project." + Write-Output "`u{2754} Changed file $file does not match a project." continue } $projectName = $dir.Replace($root, '').Trim('\').Replace('\', '.').ToLower() - Write-Output "🔎 Found project [$projectName] at $dir from changed file $file" + Write-Output "`u{1F50E} Found project [$projectName] at $dir from changed file $file" if (-not ($projectSet.ContainsKey($projectName))) { $projectSet[$projectName] = $dir -- cgit v1.3.1