From 764c02a5f14b3f38ec216176d1b0737ffcc6ca13 Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Sat, 2 Nov 2024 21:32:34 +0100 Subject: [PATCH] tools: compact jq output in daily-wpt-fyi.yml action --- .github/workflows/daily-wpt-fyi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/daily-wpt-fyi.yml b/.github/workflows/daily-wpt-fyi.yml index 35f326365f1865..a148f21428170c 100644 --- a/.github/workflows/daily-wpt-fyi.yml +++ b/.github/workflows/daily-wpt-fyi.yml @@ -27,7 +27,7 @@ jobs: steps: - id: query run: | - matrix=$(curl -s https://raw.githubusercontent.com/nodejs/Release/refs/heads/main/schedule.json | jq --arg now "$(date +%Y-%m-%d)" '[with_entries(select(.value.end > $now and .value.start < $now)) | keys[] | ltrimstr("v") | tonumber] + ["latest-nightly"]') + matrix=$(curl -s https://raw.githubusercontent.com/nodejs/Release/refs/heads/main/schedule.json | jq -c --arg now "$(date +%Y-%m-%d)" '[with_entries(select(.value.end > $now and .value.start < $now)) | keys[] | ltrimstr("v") | tonumber] + ["latest-nightly"]') echo "matrix=$matrix" >> "$GITHUB_OUTPUT" report: needs: