From 25a963ef8f37e1b4e563328e157f899a9b77e7d1 Mon Sep 17 00:00:00 2001 From: Andriy Svyryd Date: Thu, 29 May 2025 10:35:49 -0700 Subject: [PATCH] Update build-samples image --- .github/workflows/build-samples.yml | 25 ++++++------------- .../GeneratedProperties.csproj | 4 +-- 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build-samples.yml b/.github/workflows/build-samples.yml index ee0f154c42..50bfd5fd7d 100644 --- a/.github/workflows/build-samples.yml +++ b/.github/workflows/build-samples.yml @@ -2,13 +2,13 @@ name: Build Samples on: push: - branches: [main] + branches: [live] paths: - "samples/core/**" - "samples/end2end/**" - ".github/workflows/build-samples.yml" pull_request: - branches: [main] + branches: [live] paths: - "samples/core/**" - "samples/end2end/**" @@ -16,27 +16,16 @@ on: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - name: Setup .NET Core 3.1 SDK - uses: actions/setup-dotnet@v1 + - name: Setup .NET 10.0 SDK + uses: actions/setup-dotnet@v4 with: - dotnet-version: 3.1.x - - - name: Setup .NET 6.0 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 6.0.x - include-prerelease: true - - - name: Setup .NET 8.0 SDK - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.0.x + dotnet-version: 10.0.x include-prerelease: true - name: Build samples diff --git a/samples/core/Modeling/GeneratedProperties/GeneratedProperties.csproj b/samples/core/Modeling/GeneratedProperties/GeneratedProperties.csproj index 4f9926d3d5..65a94c2408 100644 --- a/samples/core/Modeling/GeneratedProperties/GeneratedProperties.csproj +++ b/samples/core/Modeling/GeneratedProperties/GeneratedProperties.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 EFModeling.GeneratedProperties EFModeling.GeneratedProperties - +