diff options
| author | Adonais Romero González <[email protected]> | 2022-09-06 16:36:33 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-09-06 16:36:33 -0700 |
| commit | 110e8c201d5a929fc01e333ceac0dc71b0267237 (patch) | |
| tree | ad236c3bcd9cdca7511753950ea60db417160d56 /.github/scripts/Build-ChangedProjects.ps1 | |
| parent | d504c54cf595e9185617a3e611e417617be8c0b8 (diff) | |
Miscellaneous build scripts fixes (#779)
Fix actions: escape emoji characters; add small validations to build scripts
Diffstat (limited to '.github/scripts/Build-ChangedProjects.ps1')
| -rw-r--r-- | .github/scripts/Build-ChangedProjects.ps1 | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
