Browse Source

Use expansion syntax as per [1]

[1] https://docs.github.com/en/actions/using-jobs/using-conditions-to-control-job-execution#overview
Joshua M. Boniface 1 year ago
parent
commit
27ecf175d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/ci-openapi.yml

+ 1 - 1
.github/workflows/ci-openapi.yml

@@ -144,7 +144,7 @@ jobs:
     name: OpenAPI - Publish Unstable Spec
     name: OpenAPI - Publish Unstable Spec
     if: |
     if: |
       github.event_name != 'pull_request_target' && 
       github.event_name != 'pull_request_target' && 
-      !startsWith(github.ref, 'refs/tags/v') && 
+      ${{ ! startsWith(github.ref, 'refs/tags/v') }} && 
       contains(github.repository_owner, 'jellyfin')
       contains(github.repository_owner, 'jellyfin')
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     needs:
     needs: