Skip to content

Commit 57bbdfa

Browse files
committed
Merge branch 'ci/fixes'
2 parents 2aeab19 + 68f8e0b commit 57bbdfa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tests_hw_wokwi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,9 @@ jobs:
333333
334334
echo "Proceeding with GitLab pipeline trigger..."
335335
336-
# Replace double quotes with single quotes for the GitLab pipeline trigger
337-
test_types=$(printf '%s' "${{ needs.get-artifacts.outputs.hw_types }}" | sed "s/\"/'/g")
338-
test_chips=$(printf '%s' "${{ needs.get-artifacts.outputs.hw_targets }}" | sed "s/\"/'/g")
336+
# Escape double quotes so JSON arrays survive the GitLab API payload
337+
test_types=$(printf '%s' "${{ needs.get-artifacts.outputs.hw_types }}" | sed 's/"/\\"/g')
338+
test_chips=$(printf '%s' "${{ needs.get-artifacts.outputs.hw_targets }}" | sed 's/"/\\"/g')
339339
echo "test_types=$test_types"
340340
echo "test_chips=$test_chips"
341341

0 commit comments

Comments
 (0)