File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ jobs:
367367 examples_matrix :
368368 runs-on : ubuntu-latest
369369 outputs :
370- examples_matrix : $$ {{ steps.list_examples.outputs.examples_matrix }}
370+ examples_matrix : ${{ steps.list_examples.outputs.examples_matrix }}
371371 steps :
372372 - name : Check out code
373373 uses : actions/checkout@v5
@@ -376,7 +376,7 @@ jobs:
376376 id : list_examples
377377 run : |
378378 echo -n 'examples_matrix=' >> $GITHUB_OUTPUT
379- find "$PWD" -mindepth 1 -type d | jq -R -s -c 'split("\n") | map(select(length > 0))' >> $GITHUB_OUTPUT
379+ find "$PWD/docs/examples " -mindepth 1 -type d | jq -R -s -c 'split("\n") | map(select(length > 0))' >> $GITHUB_OUTPUT
380380
381381 test_doc_examples :
382382 name : Documented example tests
@@ -389,6 +389,12 @@ jobs:
389389 - name : Check out code into the Go module directory
390390 uses : actions/checkout@v5
391391
392+ - name : Install Go
393+ uses : actions/setup-go@v6
394+ with :
395+ go-version : ${{ env.GO_VERSION }}
396+ check-latest : true
397+
392398 - name : Download Operator artifact
393399 uses : actions/download-artifact@v5
394400 with :
@@ -429,7 +435,7 @@ jobs:
429435 [[ -e "$example"/.ci-skip ]] && exit 0
430436
431437 make cert-manager
432- printf( "apiVersion: cert-manager.io/v1\nkind: ClusterIssuer\nmetadata:\n name: selfsigned-issuer\nspec:\n selfSigned: {}\n") | kubectl apply -f -
438+ printf "apiVersion: cert-manager.io/v1\nkind: ClusterIssuer\nmetadata:\n name: selfsigned-issuer\nspec:\n selfSigned: {}\n" | kubectl apply -f -
433439
434440 pushd "$example"
435441 kubectl create namespace examples
You can’t perform that action at this time.
0 commit comments