mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-05-25 17:12:35 -04:00
Build issues (#4267)
This commit is contained in:
@@ -10,8 +10,6 @@ on:
|
||||
branches: [ 'develop', '!release/**' ]
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
DOTNET_VERSION: 10.0
|
||||
|
||||
jobs:
|
||||
generate-openapi:
|
||||
@@ -26,7 +24,7 @@ jobs:
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: $DOTNET_VERSION
|
||||
dotnet-version: 10.0.x
|
||||
|
||||
- name: Install dependencies
|
||||
run: dotnet restore
|
||||
@@ -47,7 +45,7 @@ jobs:
|
||||
dotnet tool install Swashbuckle.AspNetCore.Cli --version ${{ steps.swashbuckle-version.outputs.VERSION }}
|
||||
|
||||
- name: Generate OpenAPI file
|
||||
run: dotnet swagger tofile --output openapi.json API/bin/Debug/net$DOTNET_VERSION/API.dll v1
|
||||
run: dotnet swagger tofile --output openapi.json API/bin/Debug/net10/API.dll v1
|
||||
|
||||
- name: Check for changes
|
||||
id: git-check
|
||||
|
||||
Reference in New Issue
Block a user