Skip to content

Commit 7af2cec

Browse files
authored
Update build-samples image (#5036)
1 parent 42c9fd1 commit 7af2cec

File tree

2 files changed

+9
-20
lines changed

2 files changed

+9
-20
lines changed

.github/workflows/build-samples.yml

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,30 @@ name: Build Samples
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [live]
66
paths:
77
- "samples/core/**"
88
- "samples/end2end/**"
99
- ".github/workflows/build-samples.yml"
1010
pull_request:
11-
branches: [main]
11+
branches: [live]
1212
paths:
1313
- "samples/core/**"
1414
- "samples/end2end/**"
1515
- ".github/workflows/build-samples.yml"
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

25-
- name: Setup .NET Core 3.1 SDK
26-
uses: actions/setup-dotnet@v1
25+
- name: Setup .NET 10.0 SDK
26+
uses: actions/setup-dotnet@v4
2727
with:
28-
dotnet-version: 3.1.x
29-
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-
36-
- name: Setup .NET 8.0 SDK
37-
uses: actions/setup-dotnet@v1
38-
with:
39-
dotnet-version: 8.0.x
28+
dotnet-version: 10.0.x
4029
include-prerelease: true
4130

4231
- 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)