From a016323b34caa9c61d40f6907e89a1f0f9e48dcb Mon Sep 17 00:00:00 2001 From: Ceyhun Ozugur Date: Thu, 22 Oct 2020 17:16:08 +0200 Subject: [PATCH] Skip switching xcode --- .github/workflows/rnmobile-ios-runner.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rnmobile-ios-runner.yml b/.github/workflows/rnmobile-ios-runner.yml index 1e1733e53b7638..2664341ee165b1 100644 --- a/.github/workflows/rnmobile-ios-runner.yml +++ b/.github/workflows/rnmobile-ios-runner.yml @@ -51,11 +51,8 @@ jobs: - name: Bundle iOS run: npm run native test:e2e:bundle:ios - - name: Switch Xcode Version - run: sudo xcode-select --switch /Applications/Xcode_12.app - - - name: Setup tmate session - uses: mxschmitt/action-tmate@v3 + # - name: Switch Xcode Version + # run: sudo xcode-select --switch /Applications/Xcode_12.app - name: Build (if needed) run: test -e packages/react-native-editor/ios/build/GutenbergDemo/Build/Products/Release-iphonesimulator/GutenbergDemo.app/gutenberg || npm run native test:e2e:build-app:ios @@ -63,6 +60,10 @@ jobs: - name: Run iOS Device Tests run: TEST_RN_PLATFORM=ios npm run native device-tests:local ${{ matrix.native-test-name }} + - name: Setup tmate session + uses: mxschmitt/action-tmate@v3 + if: always() + - name: Prepare build cache run: rm packages/react-native-editor/ios/build/GutenbergDemo/Build/Products/Release-iphonesimulator/GutenbergDemo.app/main.jsbundle