Update build.yml

This commit is contained in:
Nick Chan authored and GitHub committed 2023-03-14 17:47:33 +08:00
1 parent fcc34b920d
commit 8590c9a054
1 file changed
+1 -1
+1 -1
View File
@@ -215,7 +215,7 @@ jobs:
sudo sed -i.bak -e 's/__UNAVAILABLE_PUBLIC_IOS;/;/g' $(xcrun -sdk iphoneos --show-sdk-path)/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h
ruby -e "File.write(ARGV[0], File.read(ARGV[0]).gsub(ARGV[1]) { ARGV[2] })" $(xcrun -sdk iphoneos --show-sdk-path)/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h '__API_DEPRECATED_WITH_REPLACEMENT("kIOMainPortDefault", macos(10.0, 12.0)) __API_UNAVAILABLE(ios, watchos, tvos);' '__API_DEPRECATED_WITH_REPLACEMENT("kIOMainPortDefault", macos(10.0, 12.0)) /*__API_UNAVAILABLE(ios, watchos, tvos)*/;'
sudo chown $UID:$GID .
sudo gmake ramdisk.dmg
sudo make ramdisk.dmg
- name: Upload ramdisk
uses: actions/upload-artifact@v3