Skip to content

Commit

Permalink
ci: correct condition
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed Sep 1, 2023
1 parent c7825c4 commit eace238
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ jobs:
env:
TURBO_CACHE_DIR: .turbo/android
if: |
!contains(github.event.head_commit.modified, 'example/android/') &&
!contains(github.event.head_commit.modified, 'android/')
contains(github.event.head_commit.modified, 'example/android/') ||
contains(github.event.head_commit.modified, 'android/') ||
contains(github.event.head_commit.modified, '.github/workflows/')
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -114,9 +115,10 @@ jobs:
env:
TURBO_CACHE_DIR: .turbo/ios
if: |
!contains(github.event.head_commit.modified, 'example/ios/') &&
!contains(github.event.head_commit.modified, 'ios/') &&
!contains(github.event.head_commit.modified, '.podspec')
contains(github.event.head_commit.modified, 'example/ios/') ||
contains(github.event.head_commit.modified, 'ios/') ||
contains(github.event.head_commit.modified, '.podspec') ||
contains(github.event.head_commit.modified, '.github/workflows/')
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit eace238

Please sign in to comment.