Skip to content

Commit 8ef2323

Browse files
refactor: update input handling for Get-CodeCoverage and Get-TestResults workflows
1 parent 0d00563 commit 8ef2323

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/Get-CodeCoverage.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@ jobs:
2626
Prerelease: ${{ fromJson(inputs.Settings).Prerelease }}
2727
Verbose: ${{ fromJson(inputs.Settings).Verbose }}
2828
Version: ${{ fromJson(inputs.Settings).Version }}
29-
WorkingDirectory: ${{ fromJson(inputs.Settings).WorkingDirectory }}

.github/workflows/Get-TestResults.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@ jobs:
2020
uses: PSModule/Get-PesterTestResults@0c1d8cde9575b192831f76e87d3f7e825a7d8ff4 # v1.0.7
2121
id: Get-TestResults
2222
with:
23-
SourceCodeTestSuites: ${{ fromJson(inputs.Settings).TestSuites.SourceCode }}
24-
PSModuleTestSuites: ${{ fromJson(inputs.Settings).TestSuites.PSModule }}
25-
ModuleTestSuites: ${{ fromJson(inputs.Settings).TestSuites.Module }}
23+
SourceCodeTestSuites: ${{ toJSON(fromJson(inputs.Settings).TestSuites.SourceCode) }}
24+
PSModuleTestSuites: ${{ toJSON(fromJson(inputs.Settings).TestSuites.PSModule) }}
25+
ModuleTestSuites: ${{ toJSON(fromJson(inputs.Settings).TestSuites.Module) }}
2626
Debug: ${{ fromJson(inputs.Settings).Debug }}
2727
Prerelease: ${{ fromJson(inputs.Settings).Prerelease }}
2828
Verbose: ${{ fromJson(inputs.Settings).Verbose }}
2929
Version: ${{ fromJson(inputs.Settings).Version }}
30-
WorkingDirectory: ${{ fromJson(inputs.Settings).WorkingDirectory }}

0 commit comments

Comments
 (0)