Skip to content

Commit 80e40c5

Browse files
committed
Do not set TOOLCHAINS environment variable
1 parent 431c886 commit 80e40c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,8 @@ runs:
247247
elif [ ${RUNNER_OS} == 'macOS' ]; then
248248
/usr/sbin/installer -pkg swift.pkg -target CurrentUserHomeDirectory
249249
SWIFT_INSTALLATION=${HOME}/Library/Developer/Toolchains/${{ steps.setup.outputs.swift-id }}.xctoolchain/usr
250-
echo "TOOLCHAINS=$(plutil -extract CFBundleIdentifier raw ${SWIFT_INSTALLATION}/../Info.plist)" >> $GITHUB_ENV
250+
# do not add the toolchains variable, which might mess up Xcode builds
251+
#echo "TOOLCHAINS=$(plutil -extract CFBundleIdentifier raw ${SWIFT_INSTALLATION}/../Info.plist)" >> $GITHUB_ENV
251252
which patchelf 2>&1 > /dev/null || brew install patchelf
252253
else
253254
echo "::error::Unsupported platform: ${RUNNER_OS}"

0 commit comments

Comments
 (0)