Skip to content

Commit d8ebd21

Browse files
committed
.
1 parent 17eff76 commit d8ebd21

File tree

2 files changed

+52
-18
lines changed

2 files changed

+52
-18
lines changed

.github/workflows/ci-pipeline-validation.yml renamed to .github/workflows/ci-linux-pipeline-validation.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will build a .NET project
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
33

4-
name: CI - Pipeline - Validation
4+
name: CI - Linux - Pipeline - Validation
55
permissions:
66
contents: read
77
issues: read
@@ -12,35 +12,19 @@ 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'
1715
solutionFolder: '${{ github.workspace }}/src/Dataverse.ConfigurationMigrationTool'
1816
jobs:
1917
build:
2018

21-
runs-on: windows-latest
19+
runs-on: ubuntu-latest
2220

2321
steps:
24-
- name: git configure long path
25-
run: git config --global core.longpaths true
2622
- uses: actions/checkout@v3
2723
- name: Setup .NET
2824
uses: actions/setup-dotnet@v3
2925
with:
3026
dotnet-version: 8.0.x
3127

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
4428
- name: Restore dependencies
4529
run: dotnet restore ${{ env.solutionPath }}
4630
- name: Build
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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+

0 commit comments

Comments
 (0)