File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
src/Dataverse.ConfigurationMigrationTool Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1212 branches : [ "main" ]
1313env :
1414 solutionPath : ' ${{ github.workspace }}/src/Dataverse.ConfigurationMigrationTool/Dataverse.ConfigurationMigrationTool.sln'
15+ xrmToolboxConfigPath : ' src/Dataverse.ConfigurationMigrationTool/Dataverse.ConfigurationMigrationTool.XrmToolBox/packages.config'
16+ xrmToolboxPath : ' src/Dataverse.ConfigurationMigrationTool/Dataverse.ConfigurationMigrationTool.XrmToolBox/Dataverse.ConfigurationMigrationTool.XrmToolBox.csproj'
1517 solutionFolder : ' ${{ github.workspace }}/src/Dataverse.ConfigurationMigrationTool'
1618jobs :
1719 build :
@@ -32,11 +34,15 @@ jobs:
3234 with :
3335 nuget-version : ' latest' # Or a specific version like '5.11.1'
3436
35- - name : Restore NuGet packages
36- run : nuget restore ${{ env.solutionPath }} # Replace with your solution file or project directory
37+ - name : Add msbuild to PATH
38+ uses : microsoft/setup-msbuild@v2
3739
38- # - name: Restore dependencies
39- # run: dotnet restore ${{ env.solutionPath }}
40+ - name : Restore NuGet packages
41+ run : nuget restore ${{ env.xrmToolboxConfigPath }} # Replace with your solution file or project directory
42+ - name : Build xrmToolBox
43+ run : msbuild ${{ env.xrmToolboxPath }} -t:rebuild -verbosity:diag -property:Configuration=Release
44+ - name : Restore dependencies
45+ run : dotnet restore ${{ env.solutionPath }}
4046 - name : Build
4147 run : dotnet build ${{ env.solutionPath }} --configuration Release --no-restore
4248 - name : Execute unit tests
Original file line number Diff line number Diff line change 3131 {3219AEFD-128B-4FC1-934D-1FAACA38956C} .Release| Any CPU .ActiveCfg = Release| Any CPU
3232 {3219AEFD-128B-4FC1-934D-1FAACA38956C} .Release| Any CPU .Build .0 = Release| Any CPU
3333 {7DD84F5D-0F62-40BE-99F6-47E49BBD1C46} .Debug| Any CPU .ActiveCfg = Debug| Any CPU
34- {7DD84F5D-0F62-40BE-99F6-47E49BBD1C46} .Debug| Any CPU .Build .0 = Debug| Any CPU
3534 {7DD84F5D-0F62-40BE-99F6-47E49BBD1C46} .Release| Any CPU .ActiveCfg = Release| Any CPU
36- {7DD84F5D-0F62-40BE-99F6-47E49BBD1C46} .Release| Any CPU .Build .0 = Release| Any CPU
3735 EndGlobalSection
3836 GlobalSection (SolutionProperties ) = preSolution
3937 HideSolutionNode = FALSE
You can’t perform that action at this time.
0 commit comments