From dc011d16b9ff160c0be3829fc39a43054f0315d0 Mon Sep 17 00:00:00 2001 From: Daniel Hiltgen Date: Thu, 4 Apr 2024 11:17:48 -0700 Subject: [PATCH] Backport MacOS SDK fix from main --- .github/workflows/release.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 42d9bb46e..f6311931e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -8,7 +8,7 @@ on: jobs: # Full build of the Mac assets build-darwin: - runs-on: macos-latest + runs-on: macos-12 environment: release steps: - uses: actions/checkout@v4 @@ -38,6 +38,8 @@ jobs: APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }} APPLE_TEAM_ID: ${{ vars.APPLE_TEAM_ID }} APPLE_ID: ${{ vars.APPLE_ID }} + SDKROOT: /Applications/Xcode_13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk + DEVELOPER_DIR: /Applications/Xcode_13.4.1.app/Contents/Developer run: | ./scripts/build_darwin.sh