|
|
|
@ -142,10 +142,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
publish-unstable:
|
|
|
|
|
name: OpenAPI - Publish Unstable Spec
|
|
|
|
|
if: |
|
|
|
|
|
github.event_name != 'pull_request_target' &&
|
|
|
|
|
${{ ! startsWith(github.ref, 'refs/tags/v') }} &&
|
|
|
|
|
contains(github.repository_owner, 'jellyfin')
|
|
|
|
|
if: ${{ github.event_name != 'pull_request_target' && !startsWith(github.ref, 'refs/tags/v') && contains(github.repository_owner, 'jellyfin') }}
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
needs:
|
|
|
|
|
- openapi-head
|
|
|
|
@ -207,9 +204,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
publish-stable:
|
|
|
|
|
name: OpenAPI - Publish Stable Spec
|
|
|
|
|
if: |
|
|
|
|
|
startsWith(github.ref, 'refs/tags/v') &&
|
|
|
|
|
contains(github.repository_owner, 'jellyfin')
|
|
|
|
|
if: ${{ startsWith(github.ref, 'refs/tags/v') && contains(github.repository_owner, 'jellyfin') }}
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
needs:
|
|
|
|
|
- openapi-head
|
|
|
|
|