Skip to content

Commit 25a93bc

Browse files
committed
Change the way HTML reports are produced
1 parent f3d9d31 commit 25a93bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/dotnetCi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,11 @@ jobs:
147147
- name: Convert Screenplay reports to HTML
148148
continue-on-error: true
149149
run: |
150-
for report in Tests/**/ScreenplayReport_*.json
150+
for report in $(find Tests/ -type f -name "ScreenplayReport_*.json")
151151
do
152152
reportDir=$(dirname "$report")
153153
outputFile="$reportDir/ScreenplayReport.html"
154-
dotnet run --no-build --framework $Tfm --project CSF.Screenplay.JsonToHtmlReport --ReportPath "$report" --OutputPath $outputFile
154+
dotnet run --no-build --framework $Tfm --project CSF.Screenplay.JsonToHtmlReport --ReportPath "$report" --OutputPath "$outputFile"
155155
done
156156
- name: Upload Screenplay HTML report artifact
157157
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)