diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0d007d3..7c9e3dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Set Default Scheme run: | scheme_list=$(xcodebuild -list -json | tr -d "\n") @@ -27,7 +28,9 @@ jobs: echo $default | cat >default echo Using default scheme: $default - - name: Build App + - name: Build + env: + scheme: ${{ 'default' }} run: | if [ $scheme = default ]; then scheme=$(cat default); fi if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi