Skip to content

Commit 1703c3f

Browse files
committed
GHA: adjust the emitted PlatformInfo.plist
The XCTest version should match the product version now. Adjust the emission accordingly.
1 parent f8932f2 commit 1703c3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/swift-toolchain.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2450,7 +2450,7 @@ jobs:
24502450
info_plist = r'${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Info.plist'
24512451
with open(os.path.normpath(info_plist), 'wb') as plist:
24522452
# TODO(compnerd) derive this from the install directory
2453-
plistlib.dump({ 'DefaultProperties': { 'XCTEST_VERSION': 'development', 'SWIFTC_FLAGS': ['-use-ld=lld'] } }, plist)
2453+
plistlib.dump({ 'DefaultProperties': { 'XCTEST_VERSION': '${{ inputs.swift_version }}', 'SWIFTC_FLAGS': ['-use-ld=lld'] } }, plist)
24542454
24552455
sdk_settings_plist = r'${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/SDKs/${{ matrix.os }}.sdk/SDKSettings.plist'
24562456
with open(os.path.normpath(sdk_settings_plist), 'wb') as plist:

0 commit comments

Comments
 (0)