aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNiels van Velzen <git@ndat.nl>2021-11-02 18:55:07 +0100
committerNiels van Velzen <git@ndat.nl>2021-11-02 18:58:31 +0100
commit63eeb73608d273bd9d2f52c2ac5a66cd0195c8eb (patch)
tree06fc6e4ffdeb0ea514e6b44d53884b21c009b3a1 /.github
parente6c9add45a9b326dd61f0d90927930728a9a7e8e (diff)
Update openapi workflow to use .NET 6
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/openapi.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/openapi.yml b/.github/workflows/openapi.yml
index 701e38fb2..6e370819a 100644
--- a/.github/workflows/openapi.yml
+++ b/.github/workflows/openapi.yml
@@ -15,7 +15,8 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
- dotnet-version: '5.0.x'
+ dotnet-version: '6.0.x'
+ include-prerelease: true
- name: Generate openapi.json
run: dotnet test tests/Jellyfin.Server.Integration.Tests/Jellyfin.Server.Integration.Tests.csproj -c Release --filter "Jellyfin.Server.Integration.Tests.OpenApiSpecTests"
- name: Upload openapi.json
@@ -24,7 +25,7 @@ jobs:
name: openapi-head
retention-days: 14
if-no-files-found: error
- path: tests/Jellyfin.Server.Integration.Tests/bin/Release/net5.0/openapi.json
+ path: tests/Jellyfin.Server.Integration.Tests/bin/Release/net6.0/openapi.json
openapi-base:
name: OpenAPI - BASE
@@ -38,7 +39,8 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
- dotnet-version: '5.0.x'
+ dotnet-version: '6.0.x'
+ include-prerelease: true
- name: Generate openapi.json
run: dotnet test tests/Jellyfin.Server.Integration.Tests/Jellyfin.Server.Integration.Tests.csproj -c Release --filter "Jellyfin.Server.Integration.Tests.OpenApiSpecTests"
- name: Upload openapi.json
@@ -47,7 +49,7 @@ jobs:
name: openapi-base
retention-days: 14
if-no-files-found: error
- path: tests/Jellyfin.Server.Integration.Tests/bin/Release/net5.0/openapi.json
+ path: tests/Jellyfin.Server.Integration.Tests/bin/Release/net6.0/openapi.json
openapi-diff:
name: OpenAPI - Difference