Skip to content

优化 Java 搜索行为,主要针对 Unix #45

优化 Java 搜索行为,主要针对 Unix

优化 Java 搜索行为,主要针对 Unix #45

Triggered via pull request April 24, 2025 14:38
Status Success
Total duration 2m 13s
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-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/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/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/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-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-WinExe: 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-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/Controls/MyRadioButton.axaml.cs#L22
The field 'MyRadioButton._isMouseDown' is assigned but its value is never used
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/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/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/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/Models/Minecraft/Java/Unix.cs#L16
#warning: '"该方法未经过测试,可能无法正常工作 Unix/SearchJavaAsync"'

Artifacts

Produced during runtime
Name Size Digest
linux.arm64 Expired
16.2 MB
sha256:ff83d3f08179be78c767403bad62ee17666ab2c1a28bbe022410227f1bb2c2da
linux.x64 Expired
17.2 MB
sha256:217d23c549324a628de7967b9924a289d97e4e9caa4860875cdccd66f47e0f32
osx.mac.arm64 Expired
18.8 MB
sha256:98d5d345111a1de548592dd909e6f8184a13f9cc5372eef2b9830bbf38d3605d
osx.mac.x64 Expired
19.6 MB
sha256:2cd23483d206a08f34b38ecde41e7bb2b1912ff47669ef55c561ad937e0647c0
win.arm64 Expired
14 MB
sha256:ffcde2bcd9f0e941da242b4022ad1f6f7a5f34e3fe3f7c5a0d20a774e569ec48
win.x64 Expired
14.8 MB
sha256:ec61231926380055d5fdf1967e2b07d5a8d6e5f05435254d57d0f1fea4e96436
win.x86 Expired
13.4 MB
sha256:15cb6f9939006d60ef2fbb6fe4fe44e0bfd054b0ff7133f5d64354567a423b6e