Skip to content

Commit 172a2af

Browse files
author
fabien.menager
committed
New net 10 solution file and adapt workflows
1 parent d05477f commit 172a2af

4 files changed

Lines changed: 27 additions & 26 deletions

File tree

.github/workflows/dotnet-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: dotnet restore
3737

3838
- name: Build
39-
run: dotnet build --no-restore --framework ${{ matrix.dotnet.tfm }}
39+
run: dotnet build PhenX.EntityFrameworkCore.BulkInsert.Net10.slnx --no-restore --framework ${{ matrix.dotnet.tfm }}
4040

4141
- name: Test
42-
run: dotnet test --no-build --verbosity normal --framework ${{ matrix.dotnet.tfm }}
42+
run: dotnet test PhenX.EntityFrameworkCore.BulkInsert.Net10.slnx --no-build --verbosity normal --framework ${{ matrix.dotnet.tfm }}

.github/workflows/release.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,17 @@ jobs:
4040
with:
4141
dotnet-version: 10.0.x
4242

43-
- name: Restore dependencies
44-
run: dotnet restore
45-
46-
- name: Build
47-
run: dotnet build --configuration Release --no-restore /p:Version=$VERSION
48-
4943
- name: Test net8.0
50-
run: dotnet test --configuration Release --no-restore --no-build --verbosity normal --framework net8.0
44+
run: dotnet test PhenX.EntityFrameworkCore.BulkInsert.slnx --configuration Release --verbosity normal --framework net8.0
5145

5246
- name: Test net9.0
53-
run: dotnet test --configuration Release --no-restore --no-build --verbosity normal --framework net9.0
47+
run: dotnet test PhenX.EntityFrameworkCore.BulkInsert.slnx --configuration Release --verbosity normal --framework net9.0
5448

5549
- name: Test net10.0
56-
run: dotnet test --configuration Release --no-restore --no-build --verbosity normal --framework net10.0
50+
run: dotnet test PhenX.EntityFrameworkCore.BulkInsert.Net10.slnx --configuration Release --verbosity normal --framework net10.0
5751

5852
- name: Pack nuget packages
59-
run: dotnet pack --configuration Release --no-restore --no-build --output nupkgs /p:PackageVersion=$VERSION
53+
run: dotnet pack PhenX.EntityFrameworkCore.BulkInsert.Net10.slnx --configuration Release --no-build --output nupkgs /p:PackageVersion=$VERSION
6054

6155
- name: Upload nuget package
6256
if: github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/v')

PhenX.EntityFrameworkCore.BulkInsert.Net10.slnf

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<Solution>
2+
<Folder Name="/root/">
3+
<File Path=".editorconfig" />
4+
<File Path=".gitignore" />
5+
<File Path="Directory.Build.props" />
6+
<File Path="LICENSE" />
7+
<File Path="README.md" />
8+
</Folder>
9+
<Folder Name="/src/">
10+
<File Path="src/Directory.Build.props" />
11+
<Project Path="src/PhenX.EntityFrameworkCore.BulkInsert.Oracle/PhenX.EntityFrameworkCore.BulkInsert.Oracle.csproj" />
12+
<Project Path="src/PhenX.EntityFrameworkCore.BulkInsert.PostgreSql/PhenX.EntityFrameworkCore.BulkInsert.PostgreSql.csproj" />
13+
<Project Path="src/PhenX.EntityFrameworkCore.BulkInsert.Sqlite/PhenX.EntityFrameworkCore.BulkInsert.Sqlite.csproj" />
14+
<Project Path="src/PhenX.EntityFrameworkCore.BulkInsert.SqlServer/PhenX.EntityFrameworkCore.BulkInsert.SqlServer.csproj" />
15+
<Project Path="src/PhenX.EntityFrameworkCore.BulkInsert/PhenX.EntityFrameworkCore.BulkInsert.csproj" />
16+
</Folder>
17+
<Folder Name="/tests/">
18+
<Project Path="tests/PhenX.EntityFrameworkCore.BulkInsert.Benchmark/PhenX.EntityFrameworkCore.BulkInsert.Benchmark.csproj" />
19+
<Project Path="tests/PhenX.EntityFrameworkCore.BulkInsert.Tests/PhenX.EntityFrameworkCore.BulkInsert.Tests.csproj" />
20+
</Folder>
21+
</Solution>

0 commit comments

Comments
 (0)