44 workflow_dispatch :
55 inputs :
66 boilerplate :
7- description : Boilerplate solution
7+ description : Boilerplate solution (bit.ci.Templates.yml)
88 type : boolean
99 default : true
1010 boilerplate_postgres :
3131 description : NuGet packages
3232 type : boolean
3333 default : true
34+ blazorui :
35+ description : BlazorUI solution
36+ type : boolean
37+ default : true
3438 bswup :
3539 description : Bswup solution
3640 type : boolean
4751 description : Bmotion solution
4852 type : boolean
4953 default : true
54+ besql :
55+ description : Besql solution
56+ type : boolean
57+ default : true
58+ blazores2019 :
59+ description : BlazorES2019 project
60+ type : boolean
61+ default : true
5062 tooling :
51- description : CodeAnalyzers, ResxTranslator and SourceGenerators solutions
63+ description : CodeAnalyzers, Minifier, ResxTranslator and SourceGenerators solutions
5264 type : boolean
5365 default : true
5466 websites :
@@ -65,36 +77,10 @@ permissions:
6577
6678jobs :
6779
68- # Bit.BlazorUI solution is being built in bit.ci.yml
69-
70- build_boilerplate :
71- name : build boilerplate itself
80+ boilerplate :
81+ name : boilerplate
7282 if : ${{ inputs.boilerplate }}
73- runs-on : ubuntu-24.04
74-
75- steps :
76- - name : Checkout source code
77- uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
78- with :
79- persist-credentials : false
80-
81- - name : Setup .NET 10
82- uses : actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
83- with :
84- global-json-file : src/global.json
85-
86- - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
87- with :
88- node-version : 24
89-
90- - name : Install wasm and maui
91- run : cd src && dotnet workload install maui-android wasm-tools
92-
93- - name : Install Android Sdk platform tools
94- run : ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT "platform-tools"
95-
96- - name : Build Boilerplate solution in Release mode
97- run : dotnet build src/Templates/Boilerplate/Bit.Boilerplate/Boilerplate.slnx -c Release -p:EnforceCodeStyleInBuild=true
83+ uses : ./.github/workflows/bit.ci.Templates.yml
9884
9985
10086
@@ -363,7 +349,7 @@ jobs:
363349 dnx dotnet-ef@10.0.12 -- migrations add Initial --verbose
364350
365351 - name : Install sql server
366- uses : potatoqualitee/mssqlsuite@2291d923e83859edd871679c05b379037376761f # v1.12
352+ uses : potatoqualitee/mssqlsuite@bc850f242e5fe551e36cea6fa4bed608c58fa489 # v2
367353 with :
368354 version : 2025
369355 install : sqlengine
@@ -698,191 +684,62 @@ jobs:
698684
699685
700686
701- build_bswup_solution :
702- name : build bswup solution
703- if : ${{ inputs.bswup }}
704- runs-on : ubuntu-24.04
705-
706- steps :
707- - name : Checkout source code
708- uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
709- with :
710- persist-credentials : false
711-
712- - name : Setup .NET 10
713- uses : actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
714- with :
715- global-json-file : src/global.json
716-
717- - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
718- with :
719- node-version : 24
720-
721- - name : Install wasm and maui
722- run : cd src && dotnet workload install maui-android wasm-tools
723-
724- - name : Install Android Sdk platform tools
725- run : ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT "platform-tools"
726-
727- - name : Build Bswup solution in Release mode
728- run : dotnet build src/Bswup/Bit.Bswup.slnx -c Release
729-
687+ blazorui :
688+ name : blazorui
689+ if : ${{ inputs.blazorui }}
690+ uses : ./.github/workflows/bit.ci.BlazorUI.yml
730691
692+ bswup :
693+ name : bswup
694+ if : ${{ inputs.bswup }}
695+ uses : ./.github/workflows/bit.ci.Bswup.yml
731696
732- build_butil_solution :
733- name : build butil solution
697+ butil :
698+ name : butil
734699 if : ${{ inputs.butil }}
735- runs-on : ubuntu-24.04
736-
737- steps :
738- - name : Checkout source code
739- uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
740- with :
741- persist-credentials : false
742-
743- - name : Setup .NET 10
744- uses : actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
745- with :
746- global-json-file : src/global.json
747-
748- - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
749- with :
750- node-version : 24
751-
752- - name : Install wasm and maui
753- run : cd src && dotnet workload install maui-android wasm-tools
700+ uses : ./.github/workflows/bit.ci.Butil.yml
754701
755- - name : Install Android Sdk platform tools
756- run : ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT "platform-tools"
757-
758- - name : Build Butil solution in Release mode
759- run : dotnet build src/Butil/Bit.Butil.slnx -c Release
760-
761-
762-
763- build_brouter_solution :
764- name : build brouter solution
702+ brouter :
703+ name : brouter
765704 if : ${{ inputs.brouter }}
766- runs-on : ubuntu-24.04
767-
768- steps :
769- - name : Checkout source code
770- uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
771- with :
772- persist-credentials : false
773-
774- - name : Setup .NET 10
775- uses : actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
776- with :
777- global-json-file : src/global.json
778-
779- - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
780- with :
781- node-version : 24
782-
783- - name : Install wasm and maui
784- run : cd src && dotnet workload install maui-android wasm-tools
705+ uses : ./.github/workflows/bit.ci.Brouter.yml
785706
786- - name : Install Android Sdk platform tools
787- run : ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT "platform-tools"
788-
789- - name : Build Brouter solution in Release mode
790- run : dotnet build src/Brouter/Bit.Brouter.slnx -c Release
791-
792-
793-
794- build_bmotion_solution :
795- name : build bmotion solution
707+ bmotion :
708+ name : bmotion
796709 if : ${{ inputs.bmotion }}
797- runs-on : ubuntu-24.04
798-
799- steps :
800- - name : Checkout source code
801- uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
802- with :
803- persist-credentials : false
804-
805- - name : Setup .NET 10
806- uses : actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
807- with :
808- global-json-file : src/global.json
809-
810- - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
811- with :
812- node-version : 24
813-
814- - name : Install wasm and maui
815- run : cd src && dotnet workload install maui-android wasm-tools
816-
817- - name : Install Android Sdk platform tools
818- run : ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT "platform-tools"
710+ uses : ./.github/workflows/bit.ci.Bmotion.yml
819711
820- - name : Build Bmotion solution in Release mode
821- run : dotnet build src/Bmotion/Bit.Bmotion.slnx -c Release
712+ besql :
713+ name : besql
714+ if : ${{ inputs.besql }}
715+ uses : ./.github/workflows/bit.ci.Besql.yml
822716
717+ blazores2019 :
718+ name : blazores2019
719+ if : ${{ inputs.blazores2019 }}
720+ uses : ./.github/workflows/bit.ci.BlazorES2019.yml
823721
824-
825- build_tooling_solutions :
826- name : build tooling solutions
722+ codeanalyzers :
723+ name : codeanalyzers
827724 if : ${{ inputs.tooling }}
828- runs-on : ubuntu-24.04
725+ uses : ./.github/workflows/bit.ci.CodeAnalyzers.yml
829726
830- steps :
831- - name : Checkout source code
832- uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
833- with :
834- persist-credentials : false
835-
836- - name : Setup .NET 10
837- uses : actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
838- with :
839- global-json-file : src/global.json
840-
841- - name : Build CodeAnalyzers solution in Release mode
842- run : dotnet build src/CodeAnalyzers/Bit.CodeAnalyzers.slnx -c Release
843-
844- - name : Build Minifier solution in Release mode
845- run : dotnet build src/Minifier/Bit.Minifier.slnx -c Release
846-
847- - name : Test Minifier
848- run : cd src/Minifier && dotnet test --project Tests/Bit.Minifier.Tests/Bit.Minifier.Tests.csproj -c Release --no-build
849-
850- - name : Build ResxTranslator solution in Release mode
851- run : dotnet build src/ResxTranslator/Bit.ResxTranslator.slnx -c Release
852-
853- - name : Build SourceGenerators solution in Release mode
854- run : dotnet build src/SourceGenerators/Bit.SourceGenerators.slnx -c Release
727+ minifier :
728+ name : minifier
729+ if : ${{ inputs.tooling }}
730+ uses : ./.github/workflows/bit.ci.Minifier.yml
855731
732+ resxtranslator :
733+ name : resxtranslator
734+ if : ${{ inputs.tooling }}
735+ uses : ./.github/workflows/bit.ci.ResxTranslator.yml
856736
737+ sourcegenerators :
738+ name : sourcegenerators
739+ if : ${{ inputs.tooling }}
740+ uses : ./.github/workflows/bit.ci.SourceGenerators.yml
857741
858- build_websites :
859- name : build website solutions
742+ websites :
743+ name : websites
860744 if : ${{ inputs.websites }}
861- runs-on : ubuntu-24.04
862-
863- steps :
864- - name : Checkout source code
865- uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
866- with :
867- persist-credentials : false
868-
869- - name : Setup .NET 10
870- uses : actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
871- with :
872- global-json-file : src/global.json
873-
874- - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
875- with :
876- node-version : 24
877-
878- - name : Install wasm
879- run : cd src && dotnet workload install wasm-tools
880-
881- - name : Build Careers website in Release mode
882- run : dotnet build src/Websites/Careers/Bit.Websites.Careers.slnx -c Release
883-
884- - name : Build Platform website in Release mode
885- run : dotnet build src/Websites/Platform/Bit.Websites.Platform.slnx -c Release
886-
887- - name : Build Sales website in Release mode
888- run : dotnet build src/Websites/Sales/Bit.Websites.Sales.slnx -c Release
745+ uses : ./.github/workflows/bit.ci.Websites.yml
0 commit comments