Added: --packages-with-index parameter (#148)

* Added: --packages-with-index parameter

Signed-off-by: Valeriano Manassero <14011549+valeriano-manassero@users.noreply.github.com>
---------

Signed-off-by: Valeriano Manassero <14011549+valeriano-manassero@users.noreply.github.com>
This commit is contained in:
Valeriano Manassero
2023-09-04 12:36:55 +02:00
committed by GitHub
parent 2504907988
commit 3e08cca25b
3 changed files with 21 additions and 1 deletions
+7
View File
@@ -32,6 +32,9 @@ inputs:
description: Mark the created GitHub release as 'latest'
required: false
default: true
packages_with_index:
description: "Upload chart packages directly into publishing branch"
required: false
outputs:
changed_charts:
description: "A comma-separated list of charts that were released on this run. Will be an empty string if no updates were detected, will be unset if `--skip_packaging` is used: in the latter case your custom packaging step is responsible for setting its own outputs if you need them."
@@ -84,6 +87,10 @@ runs:
args+=(--mark-as-latest "${{ inputs.mark_as_latest }}")
fi
if [[ -n "${{ inputs.packages_with_index }}" ]]; then
args+=(--packages-with-index "${{ inputs.packages_with_index }}")
fi
"$GITHUB_ACTION_PATH/cr.sh" "${args[@]}"
if [[ -f changed_charts.txt ]]; then