Skip to content

优化 Unix Java 搜索行为 #41

优化 Unix Java 搜索行为

优化 Unix Java 搜索行为 #41

Triggered via pull request April 24, 2025 08:38
Status Success
Total duration 2m 3s
Artifacts 7

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

34 warnings
time
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
time
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
time
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
time
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build-MacOsApp: PCL2.Neo/App.axaml.cs#L44
Using member 'Avalonia.Data.Core.Plugins.BindingPlugins.DataValidators.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. PropertyAccessors might require unreferenced code.
build-MacOsApp: PCL2.Neo/App.axaml.cs#L39
Using member 'Avalonia.Data.Core.Plugins.BindingPlugins.DataValidators.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. PropertyAccessors might require unreferenced code.
build-MacOsApp: PCL2.Neo/Controls/MyRadioButton.axaml.cs#L22
The field 'MyRadioButton._isMouseDown' is assigned but its value is 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/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/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/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/Models/Minecraft/Java/Unix.cs#L16
#warning: '"该方法未经过测试,可能无法正常工作 Unix/SearchJavaAsync"'
build-AppImage: PCL2.Neo/App.axaml.cs#L44
Using member 'Avalonia.Data.Core.Plugins.BindingPlugins.DataValidators.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. PropertyAccessors might require unreferenced code.
build-AppImage: PCL2.Neo/App.axaml.cs#L39
Using member 'Avalonia.Data.Core.Plugins.BindingPlugins.DataValidators.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. PropertyAccessors might require unreferenced code.
build-AppImage: PCL2.Neo/Controls/MyRadioButton.axaml.cs#L22
The field 'MyRadioButton._isMouseDown' is assigned but its value is never used
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/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/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/Models/Minecraft/Java/Unix.cs#L16
#warning: '"该方法未经过测试,可能无法正常工作 Unix/SearchJavaAsync"'
build-WinExe: PCL2.Neo/App.axaml.cs#L39
Using member 'Avalonia.Data.Core.Plugins.BindingPlugins.DataValidators.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. PropertyAccessors might require unreferenced code.
build-WinExe: PCL2.Neo/ViewLocator.cs#L16
Unrecognized value passed to the parameter 'typeName' of method 'System.Type.GetType(String)'. It's not possible to guarantee the availability of the target type.
build-WinExe: PCL2.Neo/Controls/MyRadioButton.axaml.cs#L22
The field 'MyRadioButton._isMouseDown' is assigned but its value is never used
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/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/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/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/Models/Minecraft/Java/Unix.cs#L16
#warning: '"该方法未经过测试,可能无法正常工作 Unix/SearchJavaAsync"'

Artifacts

Produced during runtime
Name Size Digest
linux.arm64 Expired
16.2 MB
sha256:5eb5945307e3f88f8f6ce128ff1b8a09801054e647f58f304eaa6cc0c9e431f1
linux.x64 Expired
17.2 MB
sha256:6e864971dba6f5a22d5a8626775578079467b7b83ec701c8b6f0b031a2c9ab2e
osx.mac.arm64 Expired
18.8 MB
sha256:4fe2314e823bb39cbad11d32341a911a1ac61167211bd7a6ff317f73d0ed3606
osx.mac.x64 Expired
19.6 MB
sha256:a93e2ea94d73eb709671e35f36d80f777e059ec3ccb837084f72c4c8f89b84aa
win.arm64 Expired
14 MB
sha256:9c7bfd981269e7470b450ca0b7ba8413b0c81af134ee035886b8bc9715826527
win.x64 Expired
14.8 MB
sha256:0cb53ed351d24912a55e246970ea3d4aee5e610a6b1e1c6b95833e813379de11
win.x86 Expired
13.4 MB
sha256:6c312c63976d1b406af80833baf53c773043c20448be31a4d2cce92a405121dc