File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,17 @@ name: BlendLuxCore Build Bundle
66
77on :
88 pull_request :
9+ inputs :
10+ build_type :
11+ required : false
12+ type : string
13+ default : " Latest"
914 workflow_call :
15+ inputs :
16+ build_type :
17+ required : true
18+ type : string
19+ default : " Latest"
1020
1121jobs :
1222 build_bundle :
4454 run : |
4555 build_dir="${{ github.workspace }}/build"
4656 mkdir ${build_dir}
47- cmake -B ${build_dir} -S . -DCMAKE_BUILD_TYPE=Release
57+ cmake -B ${build_dir} -S . -DCMAKE_BUILD_TYPE=${{ inputs.build_type }}
4858 cmake --build ${build_dir}
4959
5060 - name : Upload artifact
Original file line number Diff line number Diff line change 1414 build_latest :
1515 name : Build Latest Bundle
1616 uses : ./.github/workflows/build_bundle.yml
17+ with :
18+ build_type : " Latest"
1719
1820 create_release :
1921 name : Create Latest Release
Original file line number Diff line number Diff line change 1313 build_latest :
1414 name : Build Latest Bundle
1515 uses : ./.github/workflows/build_bundle.yml
16+ with :
17+ build_type : " Release"
1618
1719 create_release :
1820 name : Create release
You can’t perform that action at this time.
0 commit comments