Skip to content

Commit 83a2063

Browse files
committed
GHA: emit TESTING_VERSION into Info.plist
We did not record the swift-testing version into the `Info.plist` which is expected by tools. Add this missing key to silence the warnings.
1 parent 3432374 commit 83a2063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/swift-toolchain.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2710,7 +2710,7 @@ jobs:
27102710
info_plist = r'${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Info.plist'
27112711
with open(os.path.normpath(info_plist), 'wb') as plist:
27122712
# TODO(compnerd) derive this from the install directory
2713-
plistlib.dump({ 'DefaultProperties': { 'XCTEST_VERSION': '${{ inputs.swift_version }}', 'SWIFTC_FLAGS': ['-use-ld=lld'] } }, plist)
2713+
plistlib.dump({ 'DefaultProperties': { 'XCTEST_VERSION': '${{ inputs.swift_version }}', 'TESTING_VERSION': '${{ inputs.swift_version }}', 'SWIFTC_FLAGS': ['-use-ld=lld'] } }, plist)
27142714
27152715
sdk_settings_plist = r'${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/SDKs/${{ matrix.os }}.sdk/SDKSettings.plist'
27162716
with open(os.path.normpath(sdk_settings_plist), 'wb') as plist:

0 commit comments

Comments
 (0)