File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,19 @@ name: CI
33on :
44 push :
55 workflow_dispatch :
6+ inputs :
7+ buil-static :
8+ description : " Build static version of mgconsole"
9+ type : boolean
10+ required : false
11+ default : false
612 workflow_call :
13+ inputs :
14+ build-static :
15+ description : " Build static version of mgconsole"
16+ type : boolean
17+ required : false
18+ default : false
719
820jobs :
921 build_and_test_ubuntu :
7789 path : build/src/mgconsole
7890
7991 build_and_test_static :
80- if : ${{ github.event_name == 'workflow_call' }}
92+ if : ${{ inputs.build-static }}
8193 strategy :
8294 fail-fast : false
8395 matrix :
Original file line number Diff line number Diff line change 7676 build-binaries :
7777 name : Build binaries
7878 uses : ./.github/workflows/ci.yml
79+ with :
80+ build-static : true
7981
8082 upload-binaries :
8183 name : Upload binaries
You can’t perform that action at this time.
0 commit comments