Skip to content

Commit 6345ed2

Browse files
authored
Compact JSON (#1619)
Continuing to iterate on update-java job. This fix makes sure jq formats the JSON payload on one line, which fixes a bug where the payload would not pass.
1 parent 4ef1170 commit 6345ed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-java.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
env:
7373
V: ${{ inputs.pulumi-java-version }}
7474
run: |
75-
INPUTS_JSON=$(jq -n --arg v "$V" '{version: $v}')
75+
INPUTS_JSON=$(jq -c -n --arg v "$V" '{version: $v}')
7676
echo "json=$INPUTS_JSON" >> "$GITHUB_OUTPUT"
7777
- name: pulumi-${{ matrix.provider }} main
7878
id: upgrade-on-main

0 commit comments

Comments
 (0)