ci(build): 修复 Linux build #251
build.yml
on: pull_request
build-AppImage
1m 8s
build-MacOsApp
1m 10s
build-WinExe
1m 45s
Annotations
1 error and 30 warnings
build-AppImage
Process completed with exit code 1.
|
build-AppImage:
PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L110
Dereference of a possibly null reference.
|
build-AppImage:
PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L90
Dereference of a possibly null reference.
|
build-AppImage:
PCL.Neo.Core/Models/Minecraft/Game/GameService.cs#L90
Dereference of a possibly null reference.
|
build-AppImage:
PCL.Neo.Core/Models/Minecraft/Java/JavaManager.cs#L159
The variable 'e' is declared but never used
|
build-AppImage:
PCL.Neo.Core/Models/Minecraft/Java/JavaSelector.cs#L21
Non-nullable property 'Runtime' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build-AppImage:
PCL.Neo.Core/Models/Minecraft/MetadataFile.cs#L55
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.Core/Utils/Result.cs#L15
Non-nullable field '_ok' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
build-AppImage:
PCL.Neo.Core/Utils/Result.cs#L18
Possible null reference assignment.
|
build-AppImage:
PCL.Neo.Core/Utils/Result.cs#L8
Non-nullable field '_error' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
build-AppImage:
PCL.Neo.Core/Utils/Result.cs#L12
Possible null reference assignment.
|
build-MacOsApp:
PCL.Neo.Core/Service/Accounts/AccountService.cs#L497
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/MetadataFile.cs#L55
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:
PCL.Neo.Core/Service/Accounts/OAuthService/OAuthData.cs#L69
Possible null reference return.
|
build-MacOsApp:
PCL.Neo.Core/Service/Accounts/OAuthService/OAuthData.cs#L163
Non-nullable property 'IdentityToken' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build-MacOsApp:
PCL.Neo.Core/Service/Accounts/OAuthService/RedirectServer/ResponseHelper.cs#L20
Dereference of a possibly null reference.
|
build-MacOsApp:
PCL.Neo.Core/Service/Accounts/Storage/YggdrasilAccount.cs#L8
Non-nullable field '_serverUrl' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
build-MacOsApp:
PCL.Neo.Core/Utils/Result.cs#L15
Non-nullable field '_ok' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
build-MacOsApp:
PCL.Neo.Core/Utils/Result.cs#L18
Possible null reference assignment.
|
build-MacOsApp:
PCL.Neo.Core/Utils/Result.cs#L8
Non-nullable field '_error' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
build-MacOsApp:
PCL.Neo.Core/Utils/Result.cs#L12
Possible null reference assignment.
|
build-WinExe:
PCL.Neo.Core/Service/Accounts/AccountService.cs#L598
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/Service/Accounts/AccountService.cs#L497
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/Service/Accounts/OAuthService/RedirectServer/ResponseHelper.cs#L20
Dereference of a possibly null reference.
|
build-WinExe:
PCL.Neo.Core/Models/Minecraft/MetadataFile.cs#L55
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.Core/Service/Accounts/Storage/YggdrasilAccount.cs#L8
Non-nullable field '_serverUrl' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
build-WinExe:
PCL.Neo.Core/Service/Audio/AudioService.cs#L119
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
|
build-WinExe:
PCL.Neo.Core/Utils/Result.cs#L15
Non-nullable field '_ok' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
build-WinExe:
PCL.Neo.Core/Utils/Result.cs#L18
Possible null reference assignment.
|
build-WinExe:
PCL.Neo.Core/Utils/Result.cs#L8
Non-nullable field '_error' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
build-WinExe:
PCL.Neo.Core/Utils/Result.cs#L12
Possible null reference assignment.
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
osx.mac.arm64
Expired
|
14.9 MB |
sha256:105fa141146a120d9ac91e790b27890405562885d62b49703ce557418a06820f
|
|
osx.mac.x64
Expired
|
14.9 MB |
sha256:71a0533765d2082393bdec5519da8b50476d79ae46873c8d6ac71c13b0bc7073
|
|
win.arm64
Expired
|
40.3 MB |
sha256:89719531f1bca4a1439cc16a7a93e22cdf35fc15d69a3261de1709bcf96550a4
|
|
win.x64
Expired
|
41.9 MB |
sha256:b8d5723d6441234da0c46fbad420fce3a1c4890ceabf00a4406e2441dfe4ab14
|
|
win.x86
Expired
|
39 MB |
sha256:66fcd054039fe2763b43c29408b9330b53ce0c026ce568a6ab56e48a0e35b043
|
|