From 558a59609a74f7f82d97505600c0a9bde4933ec2 Mon Sep 17 00:00:00 2001 From: Bohdan Artiukhov <69891500+bohdanprog@users.noreply.github.com> Date: Fri, 7 Jun 2024 21:59:32 +0200 Subject: [PATCH] chore: remove macos-build-test.yml (#2292) # Summary - remove `macos-build-test.yml` ## Test Plan merge that PR to the main, and check if `macos-build` action will be run --- .github/workflows/macos-build-test.yml | 72 -------------------------- 1 file changed, 72 deletions(-) delete mode 100644 .github/workflows/macos-build-test.yml diff --git a/.github/workflows/macos-build-test.yml b/.github/workflows/macos-build-test.yml deleted file mode 100644 index e7186fa5c..000000000 --- a/.github/workflows/macos-build-test.yml +++ /dev/null @@ -1,72 +0,0 @@ -name: Test macOS build -on: - pull_request: - paths: - - .github/workflows/macos-build-test.yml - - RNSVG.podspec - - apple/** - - Example/package.json - - Example/macos/** - - src/fabric/** - - package.json - push: - branches: - - main - -jobs: - build: - runs-on: macos-12 - strategy: - matrix: - working-directory: [Example] - fail-fast: false - concurrency: - group: macos-${{ matrix.working-directory }}-${{ github.ref }} - cancel-in-progress: true - steps: - - name: Check out Git repository - uses: actions/checkout@v3 - - - name: Restore react-native-svg node_modules from cache - uses: actions/cache@v3 - with: - path: node_modules - key: ${{ runner.os }}-node-modules-svg-${{ hashFiles('yarn.lock') }} - restore-keys: ${{ runner.os }}-node-modules-svg- - - - name: Install react-native-svg node_modules - run: yarn install --frozen-lockfile - - - name: Restore app node_modules from cache - uses: actions/cache@v3 - with: - path: ${{ matrix.working-directory }}/node_modules - key: ${{ runner.os }}-node-modules-${{ matrix.working-directory }}-${{ hashFiles(format('{0}/yarn.lock', matrix.working-directory)) }} - restore-keys: ${{ runner.os }}-node-modules-${{ matrix.working-directory }}- - - - name: Install app node_modules - working-directory: ${{ matrix.working-directory }} - run: yarn install --frozen-lockfile - - - name: Restore Pods from cache - uses: actions/cache@v3 - with: - path: | - ${{ matrix.working-directory }}/macos/Pods - ~/Library/Caches/CocoaPods - ~/.cocoapods - key: ${{ runner.os }}-pods-${{ matrix.working-directory }}-${{ hashFiles(format('{0}/macos/Podfile.lock', matrix.working-directory)) }} - - - name: Install Pods - working-directory: ${{ matrix.working-directory }}/macos - run: pod install - - - name: Restore build artifacts from cache - uses: actions/cache@v3 - with: - path: ~/Library/Developer/Xcode/DerivedData - key: ${{ runner.os }}-macos-derived-data-${{ matrix.working-directory }}-${{ hashFiles(format('{0}/macos/Podfile.lock', matrix.working-directory)) }} - - - name: Build app - working-directory: ${{ matrix.working-directory }} - run: npx react-native@latest run-macos --verbose --terminal /bin/zsh