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

@@ -20,7 +20,9 @@ runs:
steps:
- name: '📝 Print Inputs'
shell: 'bash'
run: 'echo "${{ toJSON(inputs) }}"'
env:
JSON_INPUTS: '${{ toJSON(inputs) }}'
run: 'echo "$JSON_INPUTS"'
- name: 'Checkout'
uses: 'actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955' # ratchet:actions/checkout@v4
with: