mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-03 16:37:04 +02:00
ci: 🧠
This commit is contained in:
parent
1eec4b77a5
commit
92f311aaec
1 changed files with 4 additions and 1 deletions
5
.github/workflows/charts-test.yaml
vendored
5
.github/workflows/charts-test.yaml
vendored
|
@ -40,8 +40,11 @@ jobs:
|
|||
if: inputs.chartChanges != ''
|
||||
run: |
|
||||
EXCLUDED=$(yq eval '.excluded-charts-install | .. style="flow"' .ci/ct/ct.yaml)
|
||||
CHARTS_JSON=$(yq --null-input eval "\"${{ inputs.chartChanges }}\" | split(\" \") | .. style=\"flow\"")
|
||||
echo $EXCLUDED
|
||||
CHARTS_JSON=$(yq --null-input eval '"${{ inputs.chartChanges }}" | split(" ") | .. style="flow"')
|
||||
echo $CHARTS_JSON
|
||||
OUTPUT_JSON=$(yq --null-input eval "$CHARTS_JSON - $EXCLUDED | .. style=\"flow\"")
|
||||
echo $OUTPUT_JSON
|
||||
echo ::set-output name=charts::${OUTPUT_JSON}
|
||||
if [[ $(echo ${OUTPUT_JSON} | jq -c '. | length') -gt 0 ]]; then
|
||||
echo "::set-output name=detected::true"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue