Skip to content

Commit 2f0a247

Browse files
committed
Update build-samples image
1 parent ac7be7f commit 2f0a247

2 files changed

Lines changed: 6 additions & 12 deletions

File tree

.github/workflows/build-samples.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,21 @@ on:
1616

1717
jobs:
1818
build:
19-
runs-on: ubuntu-20.04
19+
runs-on: ubuntu-24.04
2020

2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v4
2424

2525
- name: Setup .NET Core 3.1 SDK
2626
uses: actions/setup-dotnet@v1
2727
with:
2828
dotnet-version: 3.1.x
2929

30-
- name: Setup .NET 6.0 SDK
31-
uses: actions/setup-dotnet@v1
32-
with:
33-
dotnet-version: 6.0.x
34-
include-prerelease: true
35-
3630
- name: Setup .NET 8.0 SDK
37-
uses: actions/setup-dotnet@v1
31+
uses: actions/setup-dotnet@v4
3832
with:
39-
dotnet-version: 8.0.x
33+
dotnet-version: 10.0.x
4034
include-prerelease: true
4135

4236
- name: Build samples

samples/core/Modeling/GeneratedProperties/GeneratedProperties.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<RootNamespace>EFModeling.GeneratedProperties</RootNamespace>
77
<AssemblyName>EFModeling.GeneratedProperties</AssemblyName>
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0" />
11+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="10.0.0-preview.5.25277.114" />
1212
</ItemGroup>
1313

1414
</Project>

0 commit comments

Comments
 (0)