Skip to content

Commit 989afb1

Browse files
Added debug mode
1 parent eda9635 commit 989afb1

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/buildMain.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
branches: [ main ]
66

77
workflow_dispatch:
8+
inputs:
9+
logLevel:
10+
description: 'Log level'
11+
default: '--debug'
12+
813
jobs:
914
setup-matrix:
1015
runs-on: ubuntu-latest
@@ -49,8 +54,8 @@ jobs:
4954
- name: npm install
5055
run: npm install
5156

52-
- name: run buildRun.sh
53-
run: sh buildRun.sh -p ${{ matrix.tutorial }}
57+
- name: run buildRun.sh ${{ github.event.inputs.logLevel }}
58+
run: sh buildRun.sh -p ${{ matrix.tutorial }} ${{ github.event.inputs.logLevel }}
5459

5560
- name: Repository dispatch
5661
uses: peter-evans/repository-dispatch@v1

0 commit comments

Comments
 (0)