Skip to content

Commit f96bb51

Browse files
committed
.
1 parent 5928b42 commit f96bb51

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/ci-pipeline-validation.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
branches: [ "main" ]
1313
env:
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'
1618
jobs:
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

src/Dataverse.ConfigurationMigrationTool/Dataverse.ConfigurationMigrationTool.sln

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ Global
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

0 commit comments

Comments
 (0)