From f011945f82911129b01fb23c17fe2e1189c5ff92 Mon Sep 17 00:00:00 2001 From: Jared Holgate Date: Fri, 22 Nov 2024 10:42:44 +0000 Subject: [PATCH] Fix summary --- .github/workflows/end-to-end-test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/end-to-end-test.yml b/.github/workflows/end-to-end-test.yml index a96f746..e05c9d2 100644 --- a/.github/workflows/end-to-end-test.yml +++ b/.github/workflows/end-to-end-test.yml @@ -95,10 +95,11 @@ $items = @{} foreach($change in $planObject.resource_changes) { - if(!$items.ContainsKey($change.change.actions)) { - $items[$change.change.actions] = 0 + $key = [System.String]::Join("-", $change.change.actions) + if(!$items.ContainsKey($key)) { + $items[$key] = 0 } - $items[$change.change.actions]++ + $items[$key]++ } Write-Host "Plan Summary"