Skip to content

Lock to 5.0.0 in podspec #81

Lock to 5.0.0 in podspec

Lock to 5.0.0 in podspec #81

Workflow file for this run

name: Build
on:
push:
branches-ignore:
- master
jobs:
build:
runs-on: macOS-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install
run: pod install
- name: Build
run: |

Check failure on line 20 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
iphone_names=$(xcrun simctl list devices available --json | jq -r '.devices | to_entries[] | .value[] | select(.name | test("^iPhone [0-9]+")) | .name')
latest_iphone=$(echo "$iphone_names" | sort | tail -n 1)
echo "latest_iphone: $latest_iphone"
xcodebuild build-for-testing -workspace sf-geojson-ios.xcworkspace -scheme sf-geojson-ios -destination "platform=iOS Simulator,OS=latest,name=$latest_iphone"