Skip to content

Commit 55688bf

Browse files
authored
Add another print-output step
1 parent 4813da2 commit 55688bf

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/test-loop.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,17 @@ jobs:
3535
3636
- name: Print project-json variable
3737
run: |
38-
echo ${{ fromJson(needs.define-matrix.outputs.project-json) }}
38+
echo ${{ needs.define-matrix.outputs.project-json }}
39+
40+
# job 2.1
41+
print-output-2:
42+
# runs-on: ubuntu-latest
43+
needs: define-matrix
44+
runs-on: ${{ needs.define-matrix.outputs.project-json }}
45+
46+
steps:
47+
- name: Log JSON file
48+
run: echo "${{needs.define-matrix.outputs.project-json }}"
3949

4050
# Job 3: Display data using "run" and "with"
4151
# produce-artifacts:

0 commit comments

Comments
 (0)