Skip to content

Commit 2826c76

Browse files
committed
Replaces jq --argfile with --slurpfile
1 parent 74c1b44 commit 2826c76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ jobs:
162162
]' > "$RUNNER_TEMP/reference-routes.json"
163163
164164
# Replace old route manifest with new
165-
jq --argfile newRoutes "$RUNNER_TEMP/reference-routes.json" 'walk(
165+
jq --slurpfile newRoutes "$RUNNER_TEMP/reference-routes.json" 'walk(
166166
if type == "object" and .isStepReference == true then
167-
.routes = $newRoutes
167+
.routes = $newRoutes[0]
168168
else . end
169169
)' < manifest.json > manifest.json.new
170170

0 commit comments

Comments
 (0)