File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 4646 print-output :
4747 runs-on : ubuntu-latest
4848 needs : define-matrix
49+
50+ outputs :
51+ project-json-values : ${{ steps.convert-values.outputs.project-json-values }}
52+
4953 steps :
54+ - name : Convert values
55+ id : convert-values
56+ run : |
57+ echo "project-json-values=(${{ toJson(needs.define-matrix.outputs.project-string) }} | jq -r '.include[].project')" >> $GITHUB_ENV
58+
5059 - name : Print colors variable
5160 run : |
5261 echo ${{ needs.define-matrix.outputs.colors }}
@@ -55,14 +64,15 @@ jobs:
5564 run : |
5665 echo ${{ toJson(needs.define-matrix.outputs.project-string) }}
5766 echo ${{ toJson(needs.define-matrix.outputs.project-string) }} | jq -r '.include[].project'
58- echo "includes:" $(echo $COUNT) }}
67+ echo ${{ project-json-values }}
68+ # echo "includes:" $(echo $COUNT) }}
5969 # echo "projects:" $(echo $COUNT | jq -r 'include[].project')
6070 # echo ${{ toJson(needs.define-matrix.outputs.project-string) }}
6171 # echo ${{ toJson(needs.define-matrix.outputs.project-string) }}
6272 # echo ${{ toJson(needs.define-matrix.outputs.project-string) }}
6373 # echo ${{ toJson(needs.define-matrix.outputs.project-string) }}
6474 env :
65- COUNT : ${{ toJson(needs.define-matrix.outputs.project-string) | jq -r '.include[].project' }}
75+ COUNT : ${{ toJson(needs.define-matrix.outputs.project-string) }}
6676 # INCLUDES: ${{ toJson(needs.define-matrix.outputs.project-string) }}
6777 # PROJECTS: ${{ toJson(needs.define-matrix.outputs.project-string[0].projects) }}
6878 # CONFIGS: ${{ toJson(needs.define-matrix.outputs.project-string[0]).configs }}
You can’t perform that action at this time.
0 commit comments