chore: bump actions/upload-artifact from 5 to 6 #422
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Secondary Platforms iOS Build | |
| on: [pull_request] | |
| env: | |
| XCODE_VERSION: "16.4" | |
| jobs: | |
| build-react-native: | |
| runs-on: macOS-15 | |
| defaults: | |
| run: | |
| working-directory: ./RNExample/ios | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Select Xcode | |
| run: sudo xcode-select -s /Applications/Xcode_${{ env.XCODE_VERSION }}.app | |
| - name: Add React Native cli | |
| run: yarn add -D @react-native-community/cli | |
| - name: Update CocoaPods repo | |
| run: pod repo update | |
| - name: Install CocoaPods dependencies | |
| run: pod install | |
| - name: Build iOS extension scheme | |
| run: xcodebuild -allowProvisioningUpdates -workspace RNExample.xcworkspace -scheme RNExample -destination 'platform=iOS Simulator,name=iPhone 16 Pro,OS=latest' |