Skip to content

添加更多系统的架构和兼容性识别 #90

添加更多系统的架构和兼容性识别

添加更多系统的架构和兼容性识别 #90

Triggered via pull request May 5, 2025 12:10
@YiZhiMCQiuYiZhiMCQiu
synchronize #71
main
Status Success
Total duration 1m 55s
Artifacts 7

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
build-MacOsApp: PCL2.Neo/Models/Minecraft/Java/Unix.cs#L50
Nullability of reference types in value of type 'List<JavaEntity?>' doesn't match target type 'IEnumerable<JavaEntity>'.
build-MacOsApp: PCL2.Neo/Models/Minecraft/Java/Windows.cs#L47
Nullability of reference types in value of type 'List<JavaEntity?>' doesn't match target type 'IEnumerable<JavaEntity>'.
build-MacOsApp: PCL2.Neo/Models/Minecraft/Java/Java.cs#L68
The variable 'e' is declared but never used
build-MacOsApp: PCL2.Neo/Models/Minecraft/MetadataFile.cs#L56
Non-nullable property 'Value' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-MacOsApp: PCL2.Neo/Utils/SearchUtils.cs#L22
Non-nullable field 'SearchSource' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-MacOsApp: PCL2.Neo/Utils/SearchUtils.cs#L17
Non-nullable field 'Item' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-MacOsApp: PCL2.Neo/Utils/CollectionUtils.cs#L16
Possible null reference argument for parameter 'right' in 'bool CompareThreadStart<T>.Invoke(T left, T right)'.
build-MacOsApp: PCL2.Neo/Utils/CollectionUtils.cs#L16
Possible null reference argument for parameter 'left' in 'bool CompareThreadStart<T>.Invoke(T left, T right)'.
build-MacOsApp: PCL2.Neo/Helpers/NotificationHelper.cs#L205
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build-MacOsApp: PCL2.Neo/App.axaml.cs#L19
Non-nullable field 'JavaManager' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-AppImage: PCL2.Neo/Models/Minecraft/Java/Java.cs#L68
The variable 'e' is declared but never used
build-AppImage: PCL2.Neo/Models/Minecraft/Java/Unix.cs#L50
Nullability of reference types in value of type 'List<JavaEntity?>' doesn't match target type 'IEnumerable<JavaEntity>'.
build-AppImage: PCL2.Neo/Models/Minecraft/Java/Windows.cs#L47
Nullability of reference types in value of type 'List<JavaEntity?>' doesn't match target type 'IEnumerable<JavaEntity>'.
build-AppImage: PCL2.Neo/Models/Minecraft/MetadataFile.cs#L56
Non-nullable property 'Value' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-AppImage: PCL2.Neo/Utils/CollectionUtils.cs#L16
Possible null reference argument for parameter 'right' in 'bool CompareThreadStart<T>.Invoke(T left, T right)'.
build-AppImage: PCL2.Neo/Utils/CollectionUtils.cs#L16
Possible null reference argument for parameter 'left' in 'bool CompareThreadStart<T>.Invoke(T left, T right)'.
build-AppImage: PCL2.Neo/Utils/SearchUtils.cs#L22
Non-nullable field 'SearchSource' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-AppImage: PCL2.Neo/Utils/SearchUtils.cs#L17
Non-nullable field 'Item' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-AppImage: PCL2.Neo/Helpers/NotificationHelper.cs#L205
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build-AppImage: PCL2.Neo/App.axaml.cs#L19
Non-nullable field 'JavaManager' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-WinExe: PCL2.Neo/Models/Minecraft/Java/Java.cs#L68
The variable 'e' is declared but never used
build-WinExe: PCL2.Neo/Models/Minecraft/Java/Unix.cs#L50
Nullability of reference types in value of type 'List<JavaEntity?>' doesn't match target type 'IEnumerable<JavaEntity>'.
build-WinExe: PCL2.Neo/Helpers/NotificationHelper.cs#L205
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build-WinExe: PCL2.Neo/Utils/CollectionUtils.cs#L16
Possible null reference argument for parameter 'right' in 'bool CompareThreadStart<T>.Invoke(T left, T right)'.
build-WinExe: PCL2.Neo/Utils/CollectionUtils.cs#L16
Possible null reference argument for parameter 'left' in 'bool CompareThreadStart<T>.Invoke(T left, T right)'.
build-WinExe: PCL2.Neo/Models/Minecraft/Java/Windows.cs#L47
Nullability of reference types in value of type 'List<JavaEntity?>' doesn't match target type 'IEnumerable<JavaEntity>'.
build-WinExe: PCL2.Neo/Models/Minecraft/MetadataFile.cs#L56
Non-nullable property 'Value' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-WinExe: PCL2.Neo/Utils/SearchUtils.cs#L22
Non-nullable field 'SearchSource' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-WinExe: PCL2.Neo/Utils/SearchUtils.cs#L17
Non-nullable field 'Item' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-WinExe: PCL2.Neo/App.axaml.cs#L19
Non-nullable field 'JavaManager' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.

Artifacts

Produced during runtime
Name Size Digest
linux.arm64 Expired
16.4 MB
sha256:ca16f23481aca13dc1d87721bc06c626514b93b236ae55dce7e2df6cbb38fbd4
linux.x64 Expired
17.4 MB
sha256:9c84d1993f7d18bb7ecf41bdb74fa1dc12f91d7c6fa8603aa72a3b6bd0ac9fa9
osx.mac.arm64 Expired
19 MB
sha256:11e6eaac0368318d1ffab950ce79215e781efdb038a6c6f3a7b4d947f13fb2b2
osx.mac.x64 Expired
19.8 MB
sha256:354cbc1509f7fb0be6d8de675d27e51bbe65c8b02ff6a660ec19dd7bd9c96f48
win.arm64 Expired
14.2 MB
sha256:83a055da8360a591c9ca561d80cefbaacb2679537794750e78d4224e1de17b22
win.x64 Expired
14.9 MB
sha256:e007da3a26d6a9e6db47013e9544b40e3e210c429920cb5656e5d9eaa09d7f07
win.x86 Expired
13.5 MB
sha256:fbf6e1abb43ccc006cfb20697aeb08063dfcef95e8764c4b34a8d024c5a18348