Skip to content

Commit

Permalink
jq shouldnt be -n
Browse files Browse the repository at this point in the history
  • Loading branch information
Kas-tle authored Apr 15, 2024
1 parent 08c328f commit 6582467
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- run: |
cat metadata.json
echo
jq -n -c --arg project "${project}" --arg version "${VERSION}" --arg number "${RUN_ID}" '
jq -c --arg project "${project}" --arg version "${VERSION}" --arg number "${RUN_ID}" '
.
| .downloads |= map_values({"name", "sha256"})
| {$project, "repo", $version, "number": $number | tonumber, "changes": [], "downloads"}
Expand All @@ -68,7 +68,7 @@ jobs:
rsync -P -e "ssh -o StrictHostKeyChecking=no -i id_ecdsa" Geyser-*.jar $DOWNLOADS_USERNAME@$DOWNLOADS_SERVER_IP:~/uploads/$project/$RUN_ID/
# Run the build script
# Push the metadata
jq -n -c --arg project "${project}" --arg version "${VERSION}" --arg number "${RUN_ID}" '
jq -c --arg project "${project}" --arg version "${VERSION}" --arg number "${RUN_ID}" '
.
| .downloads |= map_values({"name", "sha256"})
| {$project, "repo", $version, "number": $number | tonumber, "changes": [], "downloads"}
Expand Down

0 comments on commit 6582467

Please sign in to comment.