Skip to content

Commit

Permalink
Update ios.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sp4ce-cowboy authored Mar 19, 2024
1 parent 01db9b9 commit 99a001a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: iPadOS Build and Test Automation for TowerForge

on:
push:
branches: [ "main", "test" ]
branches: [ "main" ]
pull_request:
branches: [ "main", "test" ]
branches: [ "main" ]

jobs:
build:
Expand All @@ -16,6 +16,7 @@ jobs:
uses: actions/checkout@v4 # v3 is deprecated by github
- name: Set Default Scheme
run: |
cd TowerForge
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
Expand Down

0 comments on commit 99a001a

Please sign in to comment.