File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3030 - id : set-matrix
3131 shell : bash
3232 run : |
33- echo "templates=$(${{ github.workspace }}/dist/bin/index.cjs --list-template-ids | tr -d '[:space:]')" >> $GITHUB_OUTPUT
33+ CLI_PATH="${{ github.workspace }}/dist/bin/index.cjs"
34+ templates=$(node "$CLI_PATH" --list-template-ids | jq -c 'map(select(contains("/community/") | not))')
35+ echo "templates=$templates" >> "$GITHUB_OUTPUT"
3436
3537 test :
3638 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ Examples:
7575 }
7676
7777 if ( result . listTemplateIds ) {
78- console . log ( listTemplateIds ( { templates } ) )
78+ console . log ( JSON . stringify ( listTemplateIds ( { templates } ) ) )
7979 process . exit ( 0 )
8080 }
8181 let packageManager = result . packageManager ?? pm
You can’t perform that action at this time.
0 commit comments