Skip to content

Commit 7282842

Browse files
committed
Merge branch 'ci/fixes'
2 parents 57bbdfa + bd09249 commit 7282842

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-
# 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')
336+
# Make targets/types comma-separated strings (remove brackets and quotes)
337+
test_types=$(printf '%s' "${{ needs.get-artifacts.outputs.hw_types }}" | sed -e 's/[][]//g' -e 's/"//g')
338+
test_chips=$(printf '%s' "${{ needs.get-artifacts.outputs.hw_targets }}" | sed -e 's/[][]//g' -e 's/"//g')
339339
echo "test_types=$test_types"
340340
echo "test_chips=$test_chips"
341341

0 commit comments

Comments
 (0)