Skip to content

Commit c075460

Browse files
authored
Fix crate_universe release action for MacOS (#3190)
1 parent f0ef6ed commit c075460

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,11 @@ jobs:
9090
run: |
9191
sudo xcode-select -s /Applications/Xcode_15.2.0.app/Contents/Developer/
9292
# Set SDK environment variables
93-
echo "SDKROOT=$(xcrun -sdk macosx13.0 --show-sdk-path)" >> $GITHUB_ENV
94-
echo "MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx13.0 --show-sdk-platform-version)" >> $GITHUB_ENV
93+
echo "SDKROOT=$(xcrun -sdk macosx14.2 --show-sdk-path)" >> $GITHUB_ENV
94+
MACOSX_DEPLOYMENT_TARGET="$(xcrun -sdk macosx14.2 --show-sdk-platform-version)"
95+
if [[ -n "${MACOSX_DEPLOYMENT_TARGET}" ]]; then
96+
echo "MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET}" >> $GITHUB_ENV
97+
fi
9598
if: startswith(matrix.os, 'macos')
9699
- name: Setup Windows Bazelrc
97100
run: |

0 commit comments

Comments
 (0)