From 051a5beffa8343f88895f0adf796bda63844d179 Mon Sep 17 00:00:00 2001 From: Jesse de Wit Date: Fri, 17 Nov 2023 14:51:33 +0100 Subject: [PATCH] CI: run react native after swift --- .github/workflows/publish-all-platforms.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-all-platforms.yml b/.github/workflows/publish-all-platforms.yml index b311aef05..c57f078b6 100644 --- a/.github/workflows/publish-all-platforms.yml +++ b/.github/workflows/publish-all-platforms.yml @@ -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 }}