From 2826c760842d0b9aec19dc9db4ae3f0b5b4c6717 Mon Sep 17 00:00:00 2001 From: Herman Slatman Date: Thu, 20 Feb 2025 19:35:49 +0100 Subject: [PATCH] Replaces `jq` `--argfile` with `--slurpfile` --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cf22ea3ef..c5f67ba39 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -162,9 +162,9 @@ jobs: ]' > "$RUNNER_TEMP/reference-routes.json" # Replace old route manifest with new - jq --argfile newRoutes "$RUNNER_TEMP/reference-routes.json" 'walk( + jq --slurpfile newRoutes "$RUNNER_TEMP/reference-routes.json" 'walk( if type == "object" and .isStepReference == true then - .routes = $newRoutes + .routes = $newRoutes[0] else . end )' < manifest.json > manifest.json.new