Skip to content

ci(build): 更新macOS构建流程 #141

ci(build): 更新macOS构建流程

ci(build): 更新macOS构建流程 #141

Triggered via pull request May 15, 2025 10:40
Status Success
Total duration 1m 51s
Artifacts 7

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
build-MacOsApp: PCL.Neo/Utils/BoolToOnlineStatusConverter.cs#L9
Nullability of reference types in type of parameter 'value' of 'object BoolToOnlineStatusConverter.Convert(object value, Type targetType, object parameter, CultureInfo culture)' doesn't match implicitly implemented member 'object? IValueConverter.Convert(object? value, Type targetType, object? parameter, CultureInfo culture)' (possibly because of nullability attributes).
build-MacOsApp: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L441
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: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L331
Possible null reference argument for parameter 'url' in 'Task GameService.DownloadFileAsync(string url, string savePath, IProgress<int>? progress = null)'.
build-MacOsApp: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L326
Possible null reference argument for parameter 'path2' in 'string Path.Combine(string path1, string path2)'.
build-MacOsApp: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L287
Dereference of a possibly null reference.
build-MacOsApp: PCL.Neo.Core/Models/Minecraft/Java/JavaManager.cs#L74
The variable 'e' is declared but never used
build-MacOsApp: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L241
Dereference of a possibly null reference.
build-MacOsApp: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L221
Dereference of a possibly null reference.
build-MacOsApp: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L221
Dereference of a possibly null reference.
build-MacOsApp: PCL.Neo.Core/Models/Minecraft/MetadataFile.cs#L53
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: PCL.Neo/Utils/BoolToOnlineStatusConverter.cs#L9
Nullability of reference types in type of parameter 'value' of 'object BoolToOnlineStatusConverter.Convert(object value, Type targetType, object parameter, CultureInfo culture)' doesn't match implicitly implemented member 'object? IValueConverter.Convert(object? value, Type targetType, object? parameter, CultureInfo culture)' (possibly because of nullability attributes).
build-AppImage: PCL.Neo.Core/Models/Minecraft/Java/JavaManager.cs#L74
The variable 'e' is declared but never used
build-AppImage: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L441
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: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L331
Possible null reference argument for parameter 'url' in 'Task GameService.DownloadFileAsync(string url, string savePath, IProgress<int>? progress = null)'.
build-AppImage: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L326
Possible null reference argument for parameter 'path2' in 'string Path.Combine(string path1, string path2)'.
build-AppImage: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L287
Dereference of a possibly null reference.
build-AppImage: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L241
Dereference of a possibly null reference.
build-AppImage: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L221
Dereference of a possibly null reference.
build-AppImage: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L221
Dereference of a possibly null reference.
build-AppImage: PCL.Neo.Core/Models/Minecraft/MetadataFile.cs#L53
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: PCL.Neo/Utils/BoolToOnlineStatusConverter.cs#L9
Nullability of reference types in type of parameter 'value' of 'object BoolToOnlineStatusConverter.Convert(object value, Type targetType, object parameter, CultureInfo culture)' doesn't match implicitly implemented member 'object? IValueConverter.Convert(object? value, Type targetType, object? parameter, CultureInfo culture)' (possibly because of nullability attributes).
build-WinExe: PCL.Neo.Core/Models/Minecraft/Java/JavaManager.cs#L74
The variable 'e' is declared but never used
build-WinExe: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L441
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: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L331
Possible null reference argument for parameter 'url' in 'Task GameService.DownloadFileAsync(string url, string savePath, IProgress<int>? progress = null)'.
build-WinExe: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L326
Possible null reference argument for parameter 'path2' in 'string Path.Combine(string path1, string path2)'.
build-WinExe: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L287
Dereference of a possibly null reference.
build-WinExe: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L241
Dereference of a possibly null reference.
build-WinExe: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L221
Dereference of a possibly null reference.
build-WinExe: PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L221
Dereference of a possibly null reference.
build-WinExe: PCL.Neo.Core/Models/Minecraft/MetadataFile.cs#L53
Non-nullable property 'Value' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

Artifacts

Produced during runtime
Name Size Digest
linux.arm64 Expired
40.4 MB
sha256:cc14412e9228a2bc3d23d99260c77aaa36ee2fd050f5ed71ceee64b8e57be7cc
linux.x64 Expired
42.4 MB
sha256:229d3d55e548bf54ff4f621bd83f4434d8c4fef8aec88846324326982cee85f2
osx.mac.arm64 Expired
13.7 MB
sha256:77e24f98dbb03f4aef187c64132c7d0fae107d5eba26b5e256cf80fa9fbf64ae
osx.mac.x64 Expired
13.7 MB
sha256:807af4713d15b5c8a02acf0e58830033ce34a84dfe966b7854864952f8023833
win.arm64 Expired
38.7 MB
sha256:3e3363a95299a7ae62346970efb7b60dafe31cd42ff30d4ec48ef4ed37a3964b
win.x64 Expired
40.3 MB
sha256:859961340c8699dcf5a75207600c3c3eff6dc4191bc1d4ae29520b99e1d81618
win.x86 Expired
37.3 MB
sha256:1cf929be8c36ef25b2fe30dac9b03f1428f07925007b8d1b2c827a73b5fa643b