summaryrefslogtreecommitdiff
path: root/.github/scripts/Build-ChangedProjects.ps1
diff options
context:
space:
mode:
authorAdonais Romero González <[email protected]>2022-09-06 16:36:33 -0700
committerGitHub <[email protected]>2022-09-06 16:36:33 -0700
commit110e8c201d5a929fc01e333ceac0dc71b0267237 (patch)
treead236c3bcd9cdca7511753950ea60db417160d56 /.github/scripts/Build-ChangedProjects.ps1
parentd504c54cf595e9185617a3e611e417617be8c0b8 (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.ps16
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