mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix OpenAPI workflow (#11733)
This commit is contained in:
parent
c0f5fe9bd3
commit
40820e3b41
9
.github/workflows/ci-openapi.yml
vendored
9
.github/workflows/ci-openapi.yml
vendored
@ -142,10 +142,7 @@ jobs:
|
|||||||
|
|
||||||
publish-unstable:
|
publish-unstable:
|
||||||
name: OpenAPI - Publish Unstable Spec
|
name: OpenAPI - Publish Unstable Spec
|
||||||
if: |
|
if: ${{ github.event_name != 'pull_request_target' && !startsWith(github.ref, 'refs/tags/v') && contains(github.repository_owner, 'jellyfin') }}
|
||||||
github.event_name != 'pull_request_target' &&
|
|
||||||
${{ ! startsWith(github.ref, 'refs/tags/v') }} &&
|
|
||||||
contains(github.repository_owner, 'jellyfin')
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
- openapi-head
|
- openapi-head
|
||||||
@ -207,9 +204,7 @@ jobs:
|
|||||||
|
|
||||||
publish-stable:
|
publish-stable:
|
||||||
name: OpenAPI - Publish Stable Spec
|
name: OpenAPI - Publish Stable Spec
|
||||||
if: |
|
if: ${{ startsWith(github.ref, 'refs/tags/v') && contains(github.repository_owner, 'jellyfin') }}
|
||||||
startsWith(github.ref, 'refs/tags/v') &&
|
|
||||||
contains(github.repository_owner, 'jellyfin')
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
- openapi-head
|
- openapi-head
|
||||||
|
Loading…
x
Reference in New Issue
Block a user