The Free Software Media System - Server Backend & API
Update CI to .NET 7
Bond_0096f231094d590
diff --git a/.ci/azure-pipelines-abi.yml b/.ci/azure-pipelines-abi.ymlindex cf74a4201b..4b82eedb45 100644--- a/.ci/azure-pipelines-abi.yml+++ b/.ci/azure-pipelines-abi.yml@@ -7,7 +7,7 @@ parameters:default: "ubuntu-latest"- name: DotNetSdkVersiontype: string- default: 6.0.x+ default: 7.0.xjobs:- job: CompatibilityCheckdiff --git a/.ci/azure-pipelines-main.yml b/.ci/azure-pipelines-main.ymlindex b7112ba245..f3ba4b8898 100644--- a/.ci/azure-pipelines-main.yml+++ b/.ci/azure-pipelines-main.yml@@ -1,7 +1,7 @@parameters:LinuxImage: 'ubuntu-latest'RestoreBuildProjects: 'Jellyfin.Server/Jellyfin.Server.csproj'- DotNetSdkVersion: 6.0.x+ DotNetSdkVersion: 7.0.xjobs:- job: Builddiff --git a/.ci/azure-pipelines-package.yml b/.ci/azure-pipelines-package.ymlindex 926d1d3224..83504fefef 100644--- a/.ci/azure-pipelines-package.yml+++ b/.ci/azure-pipelines-package.yml@@ -205,10 +205,10 @@ jobs:steps:- task: UseDotNet@2- displayName: 'Use .NET 6.0 sdk'+ displayName: 'Use .NET 7.0 sdk'inputs:packageType: 'sdk'- version: '6.0.x'+ version: '7.0.x'- task: DotNetCoreCLI@2displayName: 'Build Stable Nuget packages'diff --git a/.ci/azure-pipelines-test.yml b/.ci/azure-pipelines-test.ymlindex cc94dc2c5a..81362aab23 100644--- a/.ci/azure-pipelines-test.yml+++ b/.ci/azure-pipelines-test.yml@@ -10,7 +10,7 @@ parameters:default: "tests/**/*Tests.csproj"- name: DotNetSdkVersiontype: string- default: 6.0.x+ default: 7.0.xjobs:- job: Test@@ -94,5 +94,5 @@ jobs:displayName: 'Publish OpenAPI Artifact'condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))inputs:- targetPath: "tests/Jellyfin.Server.Integration.Tests/bin/Release/net6.0/openapi.json"+ targetPath: "tests/Jellyfin.Server.Integration.Tests/bin/Release/net7.0/openapi.json"artifactName: 'OpenAPI Spec'diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.ymlindex 677bfc3dfc..f385aecb64 100644--- a/.github/workflows/codeql-analysis.yml+++ b/.github/workflows/codeql-analysis.yml@@ -21,10 +21,10 @@ jobs:steps:- name: Checkout repositoryuses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3- - name: Setup .NET Core+ - name: Setup .NETuses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # tag=v3with:- dotnet-version: '6.0.x'+ dotnet-version: '7.0.x'- name: Initialize CodeQLuses: github/codeql-action/init@b2a92eb56d8cb930006a1c6ed86b0782dd8a4297 # v2diff --git a/.github/workflows/openapi.yml b/.github/workflows/openapi.ymlindex a82579f1b1..d7ace118b2 100644--- a/.github/workflows/openapi.yml+++ b/.github/workflows/openapi.yml@@ -18,10 +18,10 @@ jobs:with:ref: ${{ github.event.pull_request.head.sha }}repository: ${{ github.event.pull_request.head.repo.full_name }}- - name: Setup .NET Core+ - name: Setup .NETuses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # tag=v3with:- dotnet-version: '6.0.x'+ dotnet-version: '7.0.x'- name: Generate openapi.jsonrun: dotnet test tests/Jellyfin.Server.Integration.Tests/Jellyfin.Server.Integration.Tests.csproj -c Release --filter "Jellyfin.Server.Integration.Tests.OpenApiSpecTests"- name: Upload openapi.json@@ -30,7 +30,7 @@ jobs:name: openapi-headretention-days: 14if-no-files-found: error- path: tests/Jellyfin.Server.Integration.Tests/bin/Release/net6.0/openapi.json+ path: tests/Jellyfin.Server.Integration.Tests/bin/Release/net7.0/openapi.jsonopenapi-base:name: OpenAPI - BASE@@ -42,10 +42,10 @@ jobs:uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3with:ref: ${{ github.base_ref }}- - name: Setup .NET Core+ - name: Setup .NETuses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # tag=v3with:- dotnet-version: '6.0.x'+ dotnet-version: '7.0.x'- name: Generate openapi.jsonrun: dotnet test tests/Jellyfin.Server.Integration.Tests/Jellyfin.Server.Integration.Tests.csproj -c Release --filter "Jellyfin.Server.Integration.Tests.OpenApiSpecTests"- name: Upload openapi.json@@ -54,7 +54,7 @@ jobs:name: openapi-baseretention-days: 14if-no-files-found: error- path: tests/Jellyfin.Server.Integration.Tests/bin/Release/net6.0/openapi.json+ path: tests/Jellyfin.Server.Integration.Tests/bin/Release/net7.0/openapi.jsonopenapi-diff:permissions: