File tree Expand file tree Collapse file tree 2 files changed +52
-18
lines changed Expand file tree Collapse file tree 2 files changed +52
-18
lines changed Original file line number Diff line number Diff line change 1
1
# This workflow will build a .NET project
2
2
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3
3
4
- name : CI - Pipeline - Validation
4
+ name : CI - Linux - Pipeline - Validation
5
5
permissions :
6
6
contents : read
7
7
issues : read
12
12
branches : [ "main" ]
13
13
env :
14
14
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'
17
15
solutionFolder : ' ${{ github.workspace }}/src/Dataverse.ConfigurationMigrationTool'
18
16
jobs :
19
17
build :
20
18
21
- runs-on : windows -latest
19
+ runs-on : ubuntu -latest
22
20
23
21
steps :
24
- - name : git configure long path
25
- run : git config --global core.longpaths true
26
22
- uses : actions/checkout@v3
27
23
- name : Setup .NET
28
24
uses : actions/setup-dotnet@v3
29
25
with :
30
26
dotnet-version : 8.0.x
31
27
32
- - name : Setup NuGet
33
- uses : nuget/setup-nuget@v1
34
- with :
35
- nuget-version : ' latest' # Or a specific version like '5.11.1'
36
-
37
- - name : Add msbuild to PATH
38
- uses : microsoft/setup-msbuild@v2
39
-
40
- - name : Restore NuGet packages
41
- run : nuget restore ${{ env.solutionPath }} # 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
28
- name : Restore dependencies
45
29
run : dotnet restore ${{ env.solutionPath }}
46
30
- name : Build
Original file line number Diff line number Diff line change
1
+ # This workflow will build a .NET project
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3
+
4
+ name : CI - msbuild - Pipeline - Validation
5
+ permissions :
6
+ contents : read
7
+ issues : read
8
+ checks : write
9
+ pull-requests : write
10
+ on :
11
+ pull_request :
12
+ branches : [ "main" ]
13
+ env :
14
+ solutionPath : ' ${{ github.workspace }}/src/Dataverse.ConfigurationMigrationTool/Dataverse.ConfigurationMigrationTool.sln'
15
+ xrmToolboxPath : ' src/Dataverse.ConfigurationMigrationTool/Dataverse.ConfigurationMigrationTool.XrmToolBox/Dataverse.ConfigurationMigrationTool.XrmToolBox.csproj'
16
+ jobs :
17
+ build :
18
+
19
+ runs-on : windows-latest
20
+
21
+ steps :
22
+ - name : git configure long path
23
+ run : git config --global core.longpaths true
24
+ - uses : actions/checkout@v3
25
+ - name : Setup .NET
26
+ uses : actions/setup-dotnet@v3
27
+ with :
28
+ dotnet-version : 8.0.x
29
+
30
+ - name : Setup NuGet
31
+ uses : nuget/setup-nuget@v1
32
+ with :
33
+ nuget-version : ' latest' # Or a specific version like '5.11.1'
34
+
35
+ - name : Add msbuild to PATH
36
+ uses : microsoft/setup-msbuild@v2
37
+
38
+ - name : Restore NuGet packages
39
+ run : nuget restore ${{ env.solutionPath }} # Replace with your solution file or project directory
40
+ - name : Build xrmToolBox
41
+ run : msbuild ${{ env.xrmToolboxPath }} -t:rebuild -verbosity:diag -property:Configuration=Release
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
You can’t perform that action at this time.
0 commit comments