File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -1151,6 +1151,19 @@ jobs:
11511151 Copy-Item -Path "${{ github.workspace }}/BinaryCache/Library/cmark-gfm-${{ inputs.swift_cmark_version }}/usr/lib/*.dylib" -Destination "${{ github.workspace }}/BuildRoot/Library/Developer/Toolchains/unknown-Asserts-development.xctoolchain/usr/lib/swift/host/compiler"
11521152 }
11531153
1154+ - uses : actions/setup-python@v5
1155+ - uses : jannekem/run-python-script-action@v1
1156+ with :
1157+ script : |
1158+ import os
1159+ import plistlib
1160+ from datetime import datetime
1161+
1162+ now = datetime.now()
1163+ info_plist = r'${{ github.workspace }}/BuildRoot/Library/Developer/Toolchains/unknown-Asserts-development.xctoolchain/ToolchainInfo.plist'
1164+ with open(os.path.normpath(info_plist), 'wb') as plist:
1165+ plistlib.dump({ 'Identifier': 'org.compnerd.dt.toolchain.{0}.{1}-asserts'.format(now.strftime('%Y%m%d'), now.timetuple().tm_hour % 6) }, plist)
1166+
11541167 - name : Upload Compilers
11551168 uses : thebrowsercompany/gha-upload-tar-artifact@e18c33b1cd416d0d96a91dc6dce06219f98e4e27 # main
11561169 with :
You can’t perform that action at this time.
0 commit comments