Skip to content

Commit 6c23bb4

Browse files
authored
Two echos
1 parent c418359 commit 6c23bb4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/test-loop.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
outputs:
1313
colors: ${{ steps.colors.outputs.colores }}
1414
project-string: ${{ steps.project-string-step.outputs.json-project-string }}
15-
# project-json: ${{ steps.json-project-step.outputs.json-project }}
15+
project-json: ${{ steps.json-project-step.outputs.json-project }}
1616

1717
steps:
1818
- name: Define Colors
@@ -24,6 +24,7 @@ jobs:
2424
id: project-string-step
2525
run: |
2626
echo 'json-project-string={"count":4,"include":[{"project":"foo","config":"Debug"},{"project":"bar","config":"Release"}]}' >> "$GITHUB_OUTPUT"
27+
echo 'json-project={"count":4,"include":[{"project":"foo","config":"Debug"},{"project":"bar","config":"Release"}]}' >> "$GITHUB_OUTPUT"
2728
# echo 'json-project={"count":4,"include":[{"project":"foo","config":"Debug"}, \
2829
# {"project":"bar","config":"Release"}]}' >> "$GITHUB_OUTPUT"
2930

@@ -50,6 +51,10 @@ jobs:
5051
run: |
5152
echo ${{ needs.define-matrix.outputs.colors }}
5253
54+
- name: Print project-json variable
55+
run: |
56+
echo "${{ toJson(needs.define-matrix.outputs.project-json) }}"
57+
5358
- name: Print project-json variable
5459
run: |
5560
echo "The outputs are ${{ toJson(needs.define-matrix.outputs.project-string) }}"

0 commit comments

Comments
 (0)