Skip to content

Commit be6eece

Browse files
committed
Fix set CLIENT_PAYLOAD: Compact the generated json
1 parent ac19333 commit be6eece

File tree

1 file changed

+2
-2
lines changed
  • .github/actions/notify-PA-repo-of-new-version

1 file changed

+2
-2
lines changed

.github/actions/notify-PA-repo-of-new-version/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ runs:
2929
shell: bash
3030
run: |
3131
if [[ ${{ inputs.BUILD_DEMO_WORKFLOW_ID }} == '' && ${{ inputs.ARTIFACT_NAME }} == '' ]]; then
32-
echo "CLIENT_PAYLOAD=$( jq -n \
32+
echo "CLIENT_PAYLOAD=$( jq -n -c \
3333
--arg v "${{ env.VERSION }}" \
3434
'{ version: $v }' )" >> $GITHUB_ENV
3535
else
36-
echo "CLIENT_PAYLOAD=$( jq -n \
36+
echo "CLIENT_PAYLOAD=$( jq -n -c \
3737
--arg v "${{ env.VERSION }}" \
3838
--arg dr "${{ github.repository }}" \
3939
--arg dwid "${{ inputs.BUILD_DEMO_WORKFLOW_ID }}" \

0 commit comments

Comments
 (0)