add skip-packaging option (#109)

Signed-off-by: Gary Morse <gmorse81@gmail.com>

Signed-off-by: Gary Morse <gmorse81@gmail.com>
This commit is contained in:
Gary Morse
2022-11-23 13:15:26 +01:00
committed by GitHub
parent 98bccfd32b
commit 38cfeacdbb
3 changed files with 52 additions and 27 deletions
+9 -2
View File
@@ -20,10 +20,13 @@ inputs:
description: "The GitHub Pages URL to the charts repo (default: https://<owner>.github.io/<repo>)"
required: false
install_dir:
description: 'Where to install the cr tool'
description: "Where to install the cr tool"
required: false
install_only:
description: 'Just install cr tool'
description: "Just install cr tool"
required: false
skip_packaging:
description: "skip the packaging option (do your custom packaging before running this action"
required: false
runs:
@@ -61,5 +64,9 @@ runs:
args+=(--install-only "${{ inputs.install_only }}")
fi
if [[ -n "${{ inputs.skip_packaging }}" ]]; then
args+=(--skip-packaging "${{ inputs.skip_packaging }}")
fi
"$GITHUB_ACTION_PATH/cr.sh" "${args[@]}"
shell: bash