Skip to content

Commit

Permalink
[chore] set default scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
mrs1669 committed May 14, 2024
1 parent 0f87f93 commit d08d6cc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-working.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
# project=$(find . -name "*.xcodeproj" | head -n 1)
# default_scheme=$(echo "$scheme_list" | ruby -e "require 'json'; puts JSON.parse(STDIN.read)['project']['schemes'][0]")
# xcodebuild -resolvePackageDependencies -project IOSTemplateApp.xcodeproj -scheme IOSTemplateApp
# scheme_list=$(xcodebuild -list -json)
# echo "$scheme_list"
# 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
scheme_list=$(xcodebuild -list -json)
echo "$scheme_list"
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:
Expand Down

0 comments on commit d08d6cc

Please sign in to comment.