From 6713983fe8cb2701fe2cc5151c6df50786027b2c Mon Sep 17 00:00:00 2001 From: Adam Rush Date: Tue, 17 Sep 2024 10:48:49 +0100 Subject: [PATCH] Update xcode.yml --- .github/workflows/xcode.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/xcode.yml b/.github/workflows/xcode.yml index 809c382..b9ba925 100644 --- a/.github/workflows/xcode.yml +++ b/.github/workflows/xcode.yml @@ -1,4 +1,4 @@ -name: Xcode - Build and Analyze +name: Xcode - Build on: push: @@ -7,17 +7,17 @@ on: branches: [ "main" ] jobs: - build: - name: Build Xcode Project + build-and-test: runs-on: macos-latest steps: - - name: Checkout - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: Navigate to the main directory - run: cd "Code Relay" + - name: Select Xcode + run: sudo xcode-select -switch /Applications/Xcode_16.0.app - - name: Build - run: | - xcodebuild clean build analyze -scheme "Code Relay" | xcpretty && exit ${PIPESTATUS[0]} + - name: Xcode version + run: /usr/bin/xcodebuild -version + + - name: Build Xcode + run: xcodebuild clean build -project "Code Relay/Code Relay.xcodeproj" -scheme "Code Relay" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO