From 40820e3b41582a6ee5395b8fd80ffa18d6689137 Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Sun, 19 May 2024 15:57:51 +0200 Subject: [PATCH] Fix OpenAPI workflow (#11733) --- .github/workflows/ci-openapi.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-openapi.yml b/.github/workflows/ci-openapi.yml index 9948379688..6b7d4223bd 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