Skip to content

Commit

Permalink
CI: run react native after swift
Browse files Browse the repository at this point in the history
  • Loading branch information
JssDWt committed Mar 14, 2024
1 parent fc37ba3 commit 9091982
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/publish-all-platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,13 @@ jobs:
publish-react-native:
needs:
- setup
if: ${{ needs.setup.outputs.react-native == 'true' }}
- publish-swift
if: |
always() &&
${{ needs.setup.outputs.react-native == 'true' }} &&
# If swift is also published, run react native after publishing swift
# if it is not, publish react native anyway.
${{ needs.publish-swift.result == 'success' || needs.publish-swift.result == 'skipped' }}
uses: ./.github/workflows/publish-react-native.yml
with:
repository: ${{ needs.setup.outputs.repository }}
Expand Down

0 comments on commit 9091982

Please sign in to comment.