Skip to content

Commit 5e4504f

Browse files
committed
Use correct path for Info.plist to set TOOLCHAINS environment
1 parent 022cc41 commit 5e4504f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ 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+
echo "TOOLCHAINS=$(plutil -extract CFBundleIdentifier raw ${SWIFT_INSTALLATION}/../Info.plist)" >> $GITHUB_ENV
251251
which patchelf 2>&1 > /dev/null || brew install patchelf
252252
else
253253
echo "::error::Unsupported platform: ${RUNNER_OS}"

0 commit comments

Comments
 (0)