Files
flipper/.github/workflows/iOS-Sample.yml
Pranav Yadav d95b4dc112 iOS-Sample - Bump actions/checkout@v3.5.3 (#4875)
Summary:
This diff bumps `actions/checkout@v3.5.3`

### Ref.:
- `actions/checkout@v3.5.3` changelog: https://github.com/actions/checkout/releases/tag/v3.5.3

## Changelog:

[GENERAL] [SECURITY] - [Actions] `iOS-Sample` - Bump `actions/checkout@v3.5.3`

Pull Request resolved: https://github.com/facebook/flipper/pull/4875

Test Plan: - Workflow should run and work as usual.

Reviewed By: antonk52

Differential Revision: D47868450

Pulled By: passy

fbshipit-source-id: 8d1a12c8ec2344355d0f091606b4db13c5187263
2023-07-28 11:09:00 -07:00

62 lines
1.8 KiB
YAML

name: Build iOS apps
# This action runs on 'git push' and PRs to below specified paths
on:
push:
paths:
- "iOS/**"
- "xplat/**"
- "Flipper.podspec"
- "FlipperKit.podspec"
pull_request:
paths:
- "iOS/**"
- "xplat/**"
- "Flipper.podspec"
- "FlipperKit.podspec"
jobs:
build-sample-objc:
runs-on: macos-latest
defaults:
run:
working-directory: iOS/Sample
steps:
- uses: actions/checkout@v3.5.3
- name: Install dependencies
run: pod install --repo-update
- name: Build Sample app
run: |
IPHONESIMULATOR=$(xcodebuild -showsdks | grep -o "iphonesimulator[0-9]\\+\\.[0-9]\\+$") && echo $IPHONESIMULATOR
xcodebuild build -workspace Sample.xcworkspace -scheme Sample -sdk $IPHONESIMULATOR EXCLUDED_ARCHS="arm64"
build-sample-swift:
runs-on: macos-latest
defaults:
run:
working-directory: iOS/SampleSwift
steps:
- uses: actions/checkout@v3.5.3
- name: Install dependencies
run: pod install --repo-update
- name: Build SampleSwift app
run: |
IPHONESIMULATOR=$(xcodebuild -showsdks | grep -o "iphonesimulator[0-9]\\+\\.[0-9]\\+$") && echo $IPHONESIMULATOR
xcodebuild build -workspace SampleSwift.xcworkspace -scheme SampleSwift -sdk $IPHONESIMULATOR
build-tutorial:
runs-on: macos-latest
defaults:
run:
working-directory: iOS/Tutorial
steps:
- uses: actions/checkout@v3.5.3
- name: Install dependencies
run: pod install --repo-update
- name: Build Tutorial app
run: |
IPHONESIMULATOR=$(xcodebuild -showsdks | grep -o "iphonesimulator[0-9]\\+\\.[0-9]\\+$") && echo $IPHONESIMULATOR
xcodebuild build -workspace Tutorial.xcworkspace -scheme Tutorial -sdk $IPHONESIMULATOR