Skip to content

Commit 58e0a0c

Browse files
committed
Fix
Signed-off-by: ZePan110 <ze.pan@intel.com>
1 parent 1b3291a commit 58e0a0c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/nightly-docker-build-publish.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,23 @@ jobs:
2626
id: get-matrix
2727
run: |
2828
examples=($(echo ${EXAMPLES} | tr ',' ' '))
29+
echo "$examples"
2930
examples_json=$(printf '%s\n' "${examples[@]}" | sort -u | jq -R '.' | jq -sc '.')
31+
echo "$examples_json"
3032
echo "examples_json=$examples_json" >> $GITHUB_OUTPUT
3133
echo "EXAMPLES=$EXAMPLES" >> $GITHUB_OUTPUT
3234
echo "TAG=$TAG" >> $GITHUB_OUTPUT
3335
echo "PUBLISH_TAGS=$PUBLISH_TAGS" >> $GITHUB_OUTPUT
3436
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+
3546
build-and-test:
3647
needs: get-build-matrix
3748
if: ${{ fromJSON(needs.get-build-matrix.outputs.examples_json).length != 0 }}

0 commit comments

Comments
 (0)