From e1a5ccc5513e72cbc4e2a89a652d142e354b556e Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 9 Mar 2025 20:36:25 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20[Patch]:=20Update=20action.yml?= =?UTF-8?q?=20to=20remove=20deprecated=20StepSummary=5FEnabled=20input=20a?= =?UTF-8?q?nd=20replace=20StepSummary=5FShowTests=20with=20StepSummary=5FM?= =?UTF-8?q?ode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/action.yml b/action.yml index 209b5db..015de2b 100644 --- a/action.yml +++ b/action.yml @@ -41,17 +41,12 @@ inputs: Output generated reports in JSON format in addition to the configured format through Pester. required: false default: 'true' - StepSummary_Enabled: - description: | - Controls if a GitHub step summary should be shown. - required: false - default: 'true' StepSummary_ShowTestOverview: description: | Controls whether to show the test overview table in the GitHub step summary. required: false - default: 'true' - StepSummary_ShowTests: + default: 'false' + StepSummary_Mode: description: | Controls which tests to show in the GitHub step summary. Allows "Full", "Failed", or "None". required: false @@ -267,7 +262,7 @@ runs: Script: ${{ github.action_path }}/scripts/main.ps1 - name: Invoke-Pester - uses: PSModule/Invoke-Pester@v3 + uses: PSModule/Invoke-Pester@v4 id: test env: Settings: ${{ fromJson(steps.paths.outputs.result).Settings }} @@ -282,9 +277,8 @@ runs: Path: ${{ github.action_path }}/scripts/tests/PSScriptAnalyzer Run_Path: ${{ fromJson(steps.paths.outputs.result).CodePath }} ReportAsJson: ${{ inputs.ReportAsJson }} - StepSummary_Enabled: ${{ inputs.StepSummary_Enabled }} StepSummary_ShowTestOverview: ${{ inputs.StepSummary_ShowTestOverview }} - StepSummary_ShowTests: ${{ inputs.StepSummary_ShowTests }} + StepSummary_Mode: ${{ inputs.StepSummary_Mode }} StepSummary_ShowConfiguration: ${{ inputs.StepSummary_ShowConfiguration }} Run_ExcludePath: ${{ inputs.Run_ExcludePath }} Run_Exit: ${{ inputs.Run_Exit }}