Skip to content

Commit 4118c3b

Browse files
committed
test: Set separator to new line
1 parent 815d75c commit 4118c3b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/scripts/Filter-TestProjects.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function Filter-TestProjects {
117117

118118
Begin {
119119
$script:branch = $env:GITHUB_REF_NAME
120-
$script:allChangedFiles = $env:ALL_CHANGED_FILES -Split "[\s\t\n]"
120+
$script:allChangedFiles = $env:ALL_CHANGED_FILES -Split "`n"
121121
$script:filteredModules = @()
122122

123123
Write-Host "Filtering test projects for branch '$script:branch'."

.github/workflows/cicd.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
- id: get-all-changed-files
4141
name: Collect Changed Files
4242
uses: tj-actions/changed-files@v47
43+
with:
44+
separator: \n
4345

4446
- id: set-test-projects
4547
name: Collect Test Projects

0 commit comments

Comments
 (0)