Skip to content

Commit

Permalink
Update ios.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
osanoj authored Jan 23, 2024
1 parent 83e9b71 commit a4bb2eb
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: iOS starter workflow
name: iOS build and test

on:
push:
Expand All @@ -8,18 +8,12 @@ on:

jobs:
build:
name: Build and Test default scheme using any available iPhone simulator
runs-on: macos-13-arm64
name: Build and Test
runs-on: macos-13

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set Default Scheme
run: |
scheme_list=$(xcodebuild -list -json | tr -d "\n")
default=$(echo $scheme_list | ruby -e "require 'json'; puts JSON.parse(STDIN.gets)['project']['targets'][0]")
echo $default | cat >default
echo Using default scheme: $default
- name: Build
env:
scheme: ${{ 'Demo' }}
Expand Down

0 comments on commit a4bb2eb

Please sign in to comment.