|
|
|
@ -16,7 +16,7 @@ jobs:
|
|
|
|
|
permissions: read-all
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout repository
|
|
|
|
|
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
|
|
|
|
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
|
|
|
|
with:
|
|
|
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
|
|
|
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
|
|
|
@ -27,7 +27,7 @@ jobs:
|
|
|
|
|
- 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
|
|
|
|
|
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
|
|
|
|
|
uses: actions/upload-artifact@84480863f228bb9747b473957fcc9e309aa96097 # v4.4.2
|
|
|
|
|
with:
|
|
|
|
|
name: openapi-head
|
|
|
|
|
retention-days: 14
|
|
|
|
@ -41,7 +41,7 @@ jobs:
|
|
|
|
|
permissions: read-all
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout repository
|
|
|
|
|
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
|
|
|
|
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
|
|
|
|
with:
|
|
|
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
|
|
|
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
|
|
|
@ -61,7 +61,7 @@ jobs:
|
|
|
|
|
- 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
|
|
|
|
|
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
|
|
|
|
|
uses: actions/upload-artifact@84480863f228bb9747b473957fcc9e309aa96097 # v4.4.2
|
|
|
|
|
with:
|
|
|
|
|
name: openapi-base
|
|
|
|
|
retention-days: 14
|
|
|
|
|