Skip to content

Commit

Permalink
Run flutter and RN after swift
Browse files Browse the repository at this point in the history
  • Loading branch information
cnixbtc committed Jul 13, 2024
1 parent 187df72 commit 715b2ec
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/publish-all-platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
use-dummy-binaries: ${{ needs.setup.outputs.use-dummy-binaries == 'true' }}
build-bindings-darwin:
needs: setup
if: ${{ needs.setup.outputs.bindings-darwin == 'true' }}
if: always() && !failure() && !cancelled() && ${{ needs.setup.outputs.bindings-darwin == 'true' }}
uses: ./.github/workflows/build-bindings-darwin.yml
with:
repository: ${{ needs.setup.outputs.repository }}
Expand All @@ -159,7 +159,7 @@ jobs:
use-dummy-binaries: ${{ needs.setup.outputs.use-dummy-binaries == 'true' }}
build-bindings-ios:
needs: setup
if: ${{ needs.setup.outputs.bindings-ios == 'true' }}
if: always() && !failure() && !cancelled() && ${{ needs.setup.outputs.bindings-ios == 'true' }}
uses: ./.github/workflows/build-bindings-ios.yml
with:
repository: ${{ needs.setup.outputs.repository }}
Expand Down Expand Up @@ -251,6 +251,10 @@ jobs:
- setup
- build-language-bindings
- publish-swift
# The flutter package depends on the swift package to be available at runtime.
# To make sure this is will be the case, we run the publishing job only if:
# a) its dependencies (mainly publish-swift) succeeded
# b) one of its dependencies, mainly publish-swift, was explicitly skipped (but didn't fail or get cancelled)
if: always() && !failure() && !cancelled() && ${{ needs.setup.outputs.flutter == 'true' }}
uses: ./.github/workflows/publish-flutter.yml
with:
Expand All @@ -267,6 +271,10 @@ jobs:
needs:
- setup
- publish-swift
# The react native package depends on the swift cocoapod to be available at runtime.
# To make sure this is will be the case, we run the publishing job only if:
# a) its dependencies (mainly publish-swift) succeeded
# b) one of its dependencies, mainly publish-swift, was explicitly skipped (but didn't fail or get cancelled)
if: always() && !failure() && !cancelled() && ${{ needs.setup.outputs.react-native == 'true' }}
uses: ./.github/workflows/publish-react-native.yml
with:
Expand Down Expand Up @@ -300,7 +308,7 @@ jobs:
- build-bindings-darwin
- build-bindings-ios
- build-language-bindings
if: ${{ needs.setup.outputs.spm-cocoapods == 'true' }}
if: always() && !failure() && !cancelled() && ${{ needs.setup.outputs.spm-cocoapods == 'true' }}
uses: ./.github/workflows/publish-swift.yml
with:
repository: ${{ needs.setup.outputs.repository }}
Expand Down

0 comments on commit 715b2ec

Please sign in to comment.