diff --git a/.github/workflows/validation-latest-versions.yml b/.github/workflows/validation-latest-versions.yml index bb5fa0a1..60207929 100644 --- a/.github/workflows/validation-latest-versions.yml +++ b/.github/workflows/validation-latest-versions.yml @@ -26,7 +26,7 @@ jobs: | sed -E 's/.*(platform|flow|vertx).*>(([0-9]+\.[0-9]+)\..*)<.*/"\1": "\2","\1Minor":"\3"/g' | paste -s -d',' \ | awk --assign BRANCH=$branch '{print "{\"branch\":\""BRANCH"\","$0"}"}'; \ done | paste -s -d',' | awk '{print "["$i"]"}' \ - | jq '[ .[] | {branch,versions:{vertx,vaadin:.platform,flow:.flow},search:{vertx,vaadin:(.platformMinor+".*"),flow:(.flowMinor+".*")}},{branch,versions:{vertx:.vertx,vaadin:.platform,flow:.flow},search:{vertx:(.vertxMinor+".*"),vaadin:.platform,flow:.flow}} ]') + | jq -c '[ .[] | {branch,versions:{vertx,vaadin:.platform,flow:.flow},search:{vertx,vaadin:(.platformMinor+".*"),flow:(.flowMinor+".*")}},{branch,versions:{vertx:.vertx,vaadin:.platform,flow:.flow},search:{vertx:(.vertxMinor+".*"),vaadin:.platform,flow:.flow}} ]') echo "matrix=${matrix}" >> "$GITHUB_OUTPUT" build: name: Vert.x ${{ matrix.versions.vertx }}, Vaadin ${{ matrix.versions.vaadin }}, Flow ${{ matrix.versions.flow }}