Skip to content

Commit

Permalink
Update condition for build-ios job
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-magda committed Oct 3, 2023
1 parent d82e05f commit e59a02e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,18 +159,12 @@ jobs:

build-ios:
needs: [files-changed, swiftlint]
if: |
${{ always()
&& needs.swiftlint.result != 'failure'
&& (needs.files-changed.outputs.ios == 'true' || needs.files-changed.outputs.shared == 'true') }}
if: ${{ needs.swiftlint.result != 'failure' && (needs.files-changed.outputs.ios == 'true' || needs.files-changed.outputs.shared == 'true') }}
name: Build iOS
runs-on: macos-13
timeout-minutes: 30

steps:
- name: Echo
run: echo "${{ needs.swiftlint.result }}"

- name: Checkout
uses: actions/checkout@v4.1.0

Expand Down

0 comments on commit e59a02e

Please sign in to comment.