From 6cc3ecbeefa7c7e32b0063c8e5275c0996a011ce Mon Sep 17 00:00:00 2001 From: Nicholas Fasching <91689117+njfdev@users.noreply.github.com> Date: Thu, 22 Aug 2024 10:30:19 -0400 Subject: [PATCH] Remove xcode-select install Command and Just Set Required ENV Variables ONLY for macOS --- .github/workflows/releases.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/releases.yaml b/.github/workflows/releases.yaml index e5712ef..e2feeb4 100644 --- a/.github/workflows/releases.yaml +++ b/.github/workflows/releases.yaml @@ -40,9 +40,9 @@ jobs: brew update brew install pkg-config cmake autoconf automake libtool git librtlsdr libao fftw soapyrtlsdr libusb - - name: Set Up Xcode CLI Tools + - name: Set Needed ENV Variables (MacOS Only) + if: matrix.platform == 'macos-latest' || matrix.platform == 'macos-13' run: | - sudo xcode-select --install export SDKROOT=$(xcrun --show-sdk-path) export MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion | awk -F '.' '{print $1 "." $2}')