Skip to content

Commit 0a1f74d

Browse files
Update directory listing in build-release workflow
Simplified the directory tree output in the build-release.yml workflow by removing redundant find commands and filtering Get-ChildItem results to match 'github'.
1 parent a9ff667 commit 0a1f74d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/build-release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,7 @@ jobs:
212212
Write-Host "Script path to execute: ${{ matrix.script }}"
213213
Write-Host "Full script path: ${{ github.workspace }}/${{ matrix.script }}"
214214
Write-Host "Directory tree from workspace root:"
215-
Get-ChildItem -Recurse | ForEach-Object { Write-Host $_.FullName }
216-
Write-Host "Results of find for gh-actions.ps1:"
217-
find . -name "gh-actions.ps1"
218-
Write-Host "Results of find for gh-winactions.ps1:"
219-
find . -name "gh-winactions.ps1"
215+
Get-ChildItem -Recurse | Select-Object -ExpandProperty FullName | Where-Object Name -match github
220216
221217
- name: Run integration tests (PowerShell Core)
222218
shell: pwsh

0 commit comments

Comments
 (0)