Skip to content

Commit 9445446

Browse files
Merge pull request #43 from MarcelDiessner/feature/syntaxChecking
added Json parse for string
2 parents d6cb7e0 + 48dd8a2 commit 9445446

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/syntaxCheckPullRequest.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ jobs:
2525
- name: Setup matrix combinations
2626
id: setup-matrix-combinations
2727
run: |
28+
echo ${{ steps.changedfiles.outputs.changedFiles }}
2829
dirs=()
29-
for changed_file in ${{ steps.changedfiles.outputs.changedFiles }}; do
30+
for changed_file in ${{ fromJson(steps.changedfiles.outputs.changedFiles) }}; do
3031
dir="$(echo $changed_file | cut -d/ -f1)"
3132
if [[ ! " ${dirs[@]} " =~ " ${dir} " ]]; then
3233
MATRIX_PARAMS_COMBINATIONS=$MATRIX_PARAMS_COMBINATIONS'{"tutorial": "'$dir'"},'
@@ -63,7 +64,9 @@ jobs:
6364
run: npm install
6465

6566
- name: run buildRun.sh --user ${{ github.actor }} --branch ${{ github.event.pull_request_target.head.ref }} --checkSyntax
66-
run: sh buildRun.sh --user ${{ github.actor }} --branch ${{ github.event.pull_request_target.head.ref }} --checkSyntax -p ${{ matrix.tutorial }} -e test_console
67+
run: |
68+
echo ${{ matrix.tutorial }}
69+
sh buildRun.sh --user ${{ github.actor }} --branch ${{ github.event.pull_request_target.head.ref }} --checkSyntax -p ${{ matrix.tutorial }} -e test_console
6770
6871
- name: Check error file existence
6972
id: check_files

0 commit comments

Comments
 (0)