Skip to content

Feature 模组信息读取 #270

Feature 模组信息读取

Feature 模组信息读取 #270

Triggered via pull request July 15, 2025 09:23
Status Success
Total duration 2m 0s
Artifacts 7

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
build-MacOsApp: PCL.Neo.Core/Service/Accounts/MicrosoftAuth/MicrosoftAuthService.cs#L211
Possible null reference argument for parameter 'capes' in 'List<Cape> MinecraftInfo.CollectCapes(IEnumerable<Cape> capes)'.
build-MacOsApp: PCL.Neo.Core/Service/Accounts/MicrosoftAuth/MicrosoftAuthService.cs#L166
Possible null reference argument for parameter 'RefreshToken' in 'DeviceCodeAccessToken.DeviceCodeAccessToken(string AccessToken, string RefreshToken, DateTimeOffset ExpiresIn)'.
build-MacOsApp: PCL.Neo.Core/Service/Accounts/MicrosoftAuth/MicrosoftAuthService.cs#L165
Possible null reference argument for parameter 'AccessToken' in 'DeviceCodeAccessToken.DeviceCodeAccessToken(string AccessToken, string RefreshToken, DateTimeOffset ExpiresIn)'.
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-AppImage: PCL.Neo.Core/Service/Accounts/OAuthService/OAuthData.cs#L164
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-AppImage: PCL.Neo.Core/Service/Audio/AudioService.cs#L115
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
build-AppImage: PCL.Neo.Core/Service/Game/GameLauncherService.cs#L188
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/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-AppImage: PCL.Neo.Core/Service/Game/GameService.cs#L15
Parameter 'javaManager' is unread.
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-WinExe: PCL.Neo.Core/Service/Accounts/OAuthService/OAuthData.cs#L164
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-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#L115
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
build-WinExe: PCL.Neo.Core/Service/Game/GameLauncherService.cs#L188
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/Game/GameService.cs#L15
Parameter 'javaManager' is unread.
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
linux.arm64
41.2 MB
sha256:6fac8ca584a7385adfe2815eca9353a9fe737b4c5d92bcde7706440f60d25617
linux.x64
44.4 MB
sha256:48ceaafcf8e973248e0a39108de557139ed5d026686a40f5dd365d949a05b622
osx.mac.arm64
18.2 MB
sha256:5cddcaee944b960c5411993bb688a75c0aa1f268a43f6f649a7ddf2dc141d8e3
osx.mac.x64
18.9 MB
sha256:d7389fb8f118d1269f9241fffcfd24e610cd3e00279dd83003fb2c344852a352
win.arm64
43.8 MB
sha256:33799f6b72c7c846b04cd535c19b86f1bcd5c58f288cfc9b1f9c131388a68ecf
win.x64
46.5 MB
sha256:dfb89f5eaa674b036f77ed401a35b6169a26a4186e469eedd20f7e0f92cf0cc2
win.x86
43.3 MB
sha256:9e9c1bfdc807af1579e5bdbcb8adc54b04ecb58cbba24d4399870edb148703b5