mirror of
https://github.com/jellyfin/jellyfin
synced 2024-10-14 19:54:01 +00: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:
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue