From da45778fcc8a004fd17c3c83d88ab475213f81ed Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Tue, 13 Feb 2024 07:46:29 -0800 Subject: [PATCH] Wait for CocoaPods publish before running installation tests --- .github/workflows/publish-release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index ab64d9313d..cf549cdd7e 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -48,7 +48,7 @@ jobs: run: | gem install octokit gem install pathname - gem install fileutils + gem install fileutils - name: Export GITHUB_TOKEN to workspace run: echo "GITHUB_ACCESS_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV - name: Publish docs @@ -65,7 +65,7 @@ jobs: run: | gem install octokit gem install pathname - gem install fileutils + gem install fileutils - name: Export GITHUB_TOKEN to workspace run: echo "GITHUB_ACCESS_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV - name: Create Github release @@ -84,7 +84,7 @@ jobs: with: ruby-version: '3.1.2' bundler-cache: true - - name: Publish + - name: Publish run: ./build.sh publish-cocoapods v${{ needs.prepare.outputs.VERSION }} update-checker: runs-on: macos-latest @@ -106,7 +106,7 @@ jobs: test-installation: runs-on: macos-13 name: Run installation test for ${{ matrix.platform }}, ${{ matrix.installation }} and ${{ matrix.linkage }} - needs: [create-release, prepare] + needs: [create-release, prepare, publish-cocoapods] strategy: matrix: platform: [ios, osx, watchos, tvos, catalyst, visionos] @@ -166,7 +166,7 @@ jobs: run: | gem install octokit gem install pathname - gem install fileutils + gem install fileutils - name: Prepare Changelog run: ./build.sh prepare-publish-changelog - name: 'Post to #realm-releases'