Skip to content

feat: 完成跨平台音频播放模块 #203

feat: 完成跨平台音频播放模块

feat: 完成跨平台音频播放模块 #203

Triggered via pull request May 31, 2025 14:06
Status Success
Total duration 1m 48s
Artifacts 7

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
build-MacOsApp: 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-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/Audio/AudioService.cs#L119
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
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/Models/Minecraft/Game/GameService.cs#L195
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#L156
Dereference of a possibly null reference.
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/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-WinExe: PCL.Neo.Core/Models/Minecraft/Java/JavaManager.cs#L159
The variable 'e' is declared but never used
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/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-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/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/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 Expired
40.9 MB
sha256:f038d6d24ed563933e46bb03c1e0d43698d26cfd1894a31933261750ef0ecd95
linux.x64 Expired
42.9 MB
sha256:1a5ea73220cd533e789aa22e01b9db5df9b1296cfe2c5412db5bbea0807638fd
osx.mac.arm64 Expired
14.3 MB
sha256:d329aaaaa49a93fac2ef8ae8d8e2eb35dbedc2b8b0cb0b72b534cde3e11124fd
osx.mac.x64 Expired
14.3 MB
sha256:cd89aa3fffcb2cc34757cb4a2c0d53ee2bea28e7868f2cb7ac53ad3c7f811af8
win.arm64 Expired
39.2 MB
sha256:3540724e392148ba9dee41af8d59a9bef18d89237c3f155fa333bcf8cbe462eb
win.x64 Expired
40.9 MB
sha256:567eee09c1bbf8b14d1c08f7c00bf921cdfb386562e9d537d29f7c870efe231a
win.x86 Expired
37.9 MB
sha256:0e7f9e880d9cd0deb89829c5b0ce60faa02b78b5ecc43924bac2d1837aa75e23