Update action.yaml (#2418)

This commit is contained in:
Kjeld Schouten-Lebbing
2022-04-03 18:52:04 +02:00
committed by GitHub
parent b6ebb6b899
commit 2b42ecba6d

View File

@@ -80,7 +80,6 @@ runs:
local changed_files
changed_files=$(git diff --find-renames --name-only "$commit" -- 'charts/**' | grep "Chart.yaml")
echo "changed files: ${changed_files}"
local depth=$(( $(tr "/" "\n" <<< 'charts/**' | sed '/^\(\.\)*$/d' | wc -l) + 1 ))
local fields="1-${depth}"
@@ -118,12 +117,10 @@ runs:
echo "Changed Charts detected since latest tag, parsing..."
printf "::set-output name=changesDetectedAfterTag::%s\n" "true"
echo "Changed charts: ${changed_charts[*]}"
# Get only the chart paths
# Set output to changed charts
echo "Changed charts: ${changed_charts[*]}"
echo "Changed charts: ${CHARTS[*]}"
printf "::set-output name=modifiedChartsAfterTag::%s\n" "${CHARTS[*]}"
fi
popd > /dev/null