Fix quoting when echoing workflow JSON (#10596)

This commit is contained in:
Adam Weidman
2025-10-07 18:10:52 +02:00
committed by GitHub
parent d93e987f24
commit 6bb99806f0
12 changed files with 38 additions and 15 deletions

View File

@@ -65,7 +65,10 @@ jobs:
fetch-depth: 0
- name: 'Debug Inputs'
run: 'echo "${{ toJSON(inputs) }}"'
shell: 'bash'
env:
JSON_INPUTS: '${{ toJSON(inputs) }}'
run: 'echo "$JSON_INPUTS"'
- name: 'Setup Node.js'
uses: 'actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020'

View File

@@ -53,8 +53,10 @@ jobs:
run: 'npm ci'
- name: 'Print Inputs'
run: |
echo "${{ toJSON(github.event.inputs) }}"
shell: 'bash'
env:
JSON_INPUTS: '${{ toJSON(github.event.inputs) }}'
run: 'echo "$JSON_INPUTS"'
- name: 'Run Tests'
if: "${{ github.event_name == 'schedule' || github.event.inputs.force_skip_tests == 'false' }}"

View File

@@ -63,8 +63,9 @@ jobs:
- name: 'Print Inputs'
shell: 'bash'
run: |-
echo "${{ toJSON(inputs) }}"
env:
JSON_INPUTS: '${{ toJSON(inputs) }}'
run: 'echo "$JSON_INPUTS"'
- name: 'Get Patch Version'
id: 'patch_version'

View File

@@ -59,8 +59,9 @@ jobs:
- name: 'Print Inputs'
shell: 'bash'
run: |-
echo "${{ toJSON(inputs) }}"
env:
JSON_INPUTS: '${{ toJSON(inputs) }}'
run: 'echo "$JSON_INPUTS"'
- name: 'Calculate Versions and SHAs'
id: 'versions'