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