mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 08:57:04 +02:00
ci: 🧠
This commit is contained in:
parent
d2cbe786f6
commit
1eec4b77a5
1 changed files with 3 additions and 3 deletions
6
.github/workflows/charts-test.yaml
vendored
6
.github/workflows/charts-test.yaml
vendored
|
@ -39,9 +39,9 @@ jobs:
|
|||
id: list-changed
|
||||
if: inputs.chartChanges != ''
|
||||
run: |
|
||||
EXCLUDED=$(yq -o json eval '.excluded-charts-install' .ci/ct/ct.yaml)
|
||||
CHARTS_JSON=$(echo "${{ inputs.chartChanges }}" | yq -o json eval 'split(" ")' -)
|
||||
OUTPUT_JSON=$(yq --null-input "$CHARTS_JSON - $EXCLUDED | .. style= \"flow\"")
|
||||
EXCLUDED=$(yq eval '.excluded-charts-install | .. style="flow"' .ci/ct/ct.yaml)
|
||||
CHARTS_JSON=$(yq --null-input eval "\"${{ inputs.chartChanges }}\" | split(\" \") | .. style=\"flow\"")
|
||||
OUTPUT_JSON=$(yq --null-input eval "$CHARTS_JSON - $EXCLUDED | .. style=\"flow\"")
|
||||
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