From c80233cfaef52f1c0ef6ec20e97cd382ea77804e Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Sun, 3 Apr 2022 15:14:58 +0200 Subject: [PATCH] Update action.yaml --- .github/actions/collect-changes/action.yaml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/actions/collect-changes/action.yaml b/.github/actions/collect-changes/action.yaml index ba78f7a98f5..3e99bba4080 100644 --- a/.github/actions/collect-changes/action.yaml +++ b/.github/actions/collect-changes/action.yaml @@ -104,13 +104,14 @@ runs: else echo "Changed Charts detected since latest tag, parsing..." printf "::set-output name=changesDetectedAfterTag::%s\n" "true" - CHARTS=() + CHARTS=() - # Get only the chart paths - for CHARTPATH in "${changed_charts[@]}" - do - IFS='/' read -r -a path_parts <<< "${CHARTPATH}" - CHARTS+=("${path_parts[1]}/${path_parts[2]}") - done - - printf "::set-output name=modifiedChartsAfterTag::%s\n" "${CHARTS[*]}" + # Get only the chart paths + for CHARTPATH in "${changed_charts[@]}" + do + IFS='/' read -r -a path_parts <<< "${CHARTPATH}" + CHARTS+=("${path_parts[1]}/${path_parts[2]}") + done + # Set output to changed charts + printf "::set-output name=modifiedChartsAfterTag::%s\n" "${CHARTS[*]}" + fi