diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 7b2e056..6c08f96 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -2,9 +2,9 @@ name: dotnet build on: push: - branches: [ main, live ] + branches: [ main ] pull_request: - branches: [ main, live ] + branches: [ main ] permissions: contents: read @@ -21,7 +21,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: 9.x + dotnet-version: 10.x - name: Restore dependencies run: dotnet restore - name: Build diff --git a/src/SdkClientLogging/SdkClientLogging.csproj b/src/SdkClientLogging/SdkClientLogging.csproj index 67edfa9..7af0488 100644 --- a/src/SdkClientLogging/SdkClientLogging.csproj +++ b/src/SdkClientLogging/SdkClientLogging.csproj @@ -1,7 +1,7 @@ - net9.0 + net10.0 enable enable true @@ -12,8 +12,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/SdkSnippets/SdkSnippets.csproj b/src/SdkSnippets/SdkSnippets.csproj index 610bdaa..8f72a00 100644 --- a/src/SdkSnippets/SdkSnippets.csproj +++ b/src/SdkSnippets/SdkSnippets.csproj @@ -2,7 +2,7 @@ Exe - net9.0 + net10.0 enable enable true @@ -21,10 +21,10 @@ - - - - + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all