aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels van Velzen <nielsvanvelzen@users.noreply.github.com>2024-05-19 15:57:51 +0200
committerGitHub <noreply@github.com>2024-05-19 07:57:51 -0600
commit40820e3b41582a6ee5395b8fd80ffa18d6689137 (patch)
tree12b85e5be5f19410d4c31a9bbf5b393cad0ec461
parentc0f5fe9bd3e973f081b3782db4513145207b7c7e (diff)
Fix OpenAPI workflow (#11733)
-rw-r--r--.github/workflows/ci-openapi.yml9
1 files changed, 2 insertions, 7 deletions
diff --git a/.github/workflows/ci-openapi.yml b/.github/workflows/ci-openapi.yml
index 994837968..6b7d4223b 100644
--- a/.github/workflows/ci-openapi.yml
+++ b/.github/workflows/ci-openapi.yml
@@ -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