From a9a558b3dce0c60cf7539bc8f045b73b9812d724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=E1=B4=87=CA=80=C9=B4=E1=B4=85=20S=E1=B4=84=CA=9C?= =?UTF-8?q?=E1=B4=8F=CA=80=C9=A2=E1=B4=87=CA=80s?= Date: Wed, 27 Jul 2022 21:06:21 +0200 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=A7=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/charts-test.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/charts-test.yaml b/.github/workflows/charts-test.yaml index e28d5197..dc5fead6 100644 --- a/.github/workflows/charts-test.yaml +++ b/.github/workflows/charts-test.yaml @@ -40,11 +40,8 @@ jobs: if: inputs.chartChanges != '' run: | EXCLUDED=$(yq eval '.excluded-charts-install | .. style="flow"' .ci/ct/ct.yaml) - 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 + CHARTS_JSON=$(yq --null-input -o json eval '"${{ inputs.chartChanges }}" | split(" ")') + OUTPUT_JSON=$(yq --null-input -o json eval "$CHARTS_JSON - $EXCLUDED") echo ::set-output name=charts::${OUTPUT_JSON} if [[ $(echo ${OUTPUT_JSON} | jq -c '. | length') -gt 0 ]]; then echo "::set-output name=detected::true"