File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,24 @@ jobs:
26
26
id : get-matrix
27
27
run : |
28
28
examples=($(echo ${EXAMPLES} | tr ',' ' '))
29
+ echo "EXAMPLES: $EXAMPLES"
30
+ echo "examples: $examples"
29
31
examples_json=$(printf '%s\n' "${examples[@]}" | sort -u | jq -R '.' | jq -sc '.')
32
+ echo "$examples_json"
30
33
echo "examples_json=$examples_json" >> $GITHUB_OUTPUT
31
34
echo "EXAMPLES=$EXAMPLES" >> $GITHUB_OUTPUT
32
35
echo "TAG=$TAG" >> $GITHUB_OUTPUT
33
36
echo "PUBLISH_TAGS=$PUBLISH_TAGS" >> $GITHUB_OUTPUT
34
37
38
+ check :
39
+ runs-on : ubuntu-latest
40
+ steps :
41
+ - name : Check
42
+ run : |
43
+ echo "EXAMPLES: ${{ env.EXAMPLES }}"
44
+ echo "examples_json: ${{ env.examples_json }}"
45
+ echo "${{ fromJSON(needs.get-build-matrix.outputs.examples_json) }}"
46
+
35
47
build-and-test :
36
48
needs : get-build-matrix
37
49
if : ${{ fromJSON(needs.get-build-matrix.outputs.examples_json).length != 0 }}
You can’t perform that action at this time.
0 commit comments