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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user