Skip to content

up 预览版

up 预览版 #58

Triggered via push February 1, 2024 05:11
Status Success
Total duration 12m 59s
Artifacts 14

dotnet-build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

31 warnings
build-macos
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-macos: src/ColorMC.Gui/Utils/Hook/Win32Native.cs#L83
Unboxing a possibly null value.
build-macos: src/ColorMC.Gui/UI/Model/Items/InputAxisButtonModel.cs#L9
Parameter 'SettingModel setting' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build-macos: src/ColorMC.Gui/UI/Controls/GameWindowControl.axaml.cs#L683
Possible null reference argument for parameter 'target' in 'IObservable<EventPattern<object>> Observable.FromEventPattern(object target, string eventName)'.
build-macos: src/ColorMC.Gui/UI/Controls/GameWindowControl.axaml.cs#L702
Possible null reference argument for parameter 'owner' in 'void Window.Show(Window owner)'.
build-macos: src/ColorMC.Gui/UI/Controls/GameWindowControl.axaml.cs#L803
Cannot convert null literal to non-nullable reference type.
build-macos: src/ColorMC.Gui/UI/Controls/GameWindowControl.axaml.cs#L805
Cannot convert null literal to non-nullable reference type.
build-macos: src/ColorMC.Gui/Utils/Hook/Win32Native.cs#L20
The event 'Win32Native.IsFocus' is never used
build-linux
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-linux: src/ColorMC.Gui/Utils/Hook/Win32Native.cs#L83
Unboxing a possibly null value.
build-linux: src/ColorMC.Gui/UI/Controls/GameWindowControl.axaml.cs#L683
Possible null reference argument for parameter 'target' in 'IObservable<EventPattern<object>> Observable.FromEventPattern(object target, string eventName)'.
build-linux: src/ColorMC.Gui/UI/Controls/GameWindowControl.axaml.cs#L702
Possible null reference argument for parameter 'owner' in 'void Window.Show(Window owner)'.
build-linux: src/ColorMC.Gui/UI/Controls/GameWindowControl.axaml.cs#L803
Cannot convert null literal to non-nullable reference type.
build-linux: src/ColorMC.Gui/UI/Controls/GameWindowControl.axaml.cs#L805
Cannot convert null literal to non-nullable reference type.
build-linux: src/ColorMC.Gui/UI/Model/Items/InputAxisButtonModel.cs#L9
Parameter 'SettingModel setting' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build-linux: src/ColorMC.Gui/Utils/Hook/Win32Native.cs#L20
The event 'Win32Native.IsFocus' is never used
build-linux: src/ColorMC.Launcher/Program.cs#L135
Using member 'System.Reflection.Emit.AssemblyBuilder.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Defining a dynamic assembly requires dynamic code.
build-linux: src/ColorMC.Launcher/Program.cs#L215
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream, Stream)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
build-windows
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-windows: src/ColorMC.Gui/Utils/Hook/Win32Native.cs#L83
Unboxing a possibly null value.
build-windows: src/ColorMC.Gui/UI/Controls/GameWindowControl.axaml.cs#L683
Possible null reference argument for parameter 'target' in 'IObservable<EventPattern<object>> Observable.FromEventPattern(object target, string eventName)'.
build-windows: src/ColorMC.Gui/UI/Controls/GameWindowControl.axaml.cs#L702
Possible null reference argument for parameter 'owner' in 'void Window.Show(Window owner)'.
build-windows: src/ColorMC.Gui/UI/Controls/GameWindowControl.axaml.cs#L803
Cannot convert null literal to non-nullable reference type.
build-windows: src/ColorMC.Gui/UI/Controls/GameWindowControl.axaml.cs#L805
Cannot convert null literal to non-nullable reference type.
build-windows: src/ColorMC.Gui/UI/Model/Items/InputAxisButtonModel.cs#L9
Parameter 'SettingModel setting' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build-windows: src/ColorMC.Gui/Utils/Hook/Win32Native.cs#L20
The event 'Win32Native.IsFocus' is never used
build-windows: src/ColorMC.Launcher/Program.cs#L135
Using member 'System.Reflection.Emit.AssemblyBuilder.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Defining a dynamic assembly requires dynamic code.
build-windows: src/ColorMC.Launcher/Program.cs#L215
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream, Stream)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.

Artifacts

Produced during runtime
Name Size
colormc-arch-x86_64 Expired
46.6 MB
colormc-arch-x86_64-aot Expired
45.6 MB
colormc-linux-x64-appimage Expired
46.9 MB
colormc-macos-x64 Expired
49 MB
colormc-ubuntu-arm64 Expired
36.8 MB
colormc-ubuntu-arm64-aot Expired
2.67 KB
colormc-ubuntu-x64 Expired
39.3 MB
colormc-ubuntu-x64-aot Expired
36.8 MB
colormc-windows-arm64 Expired
46.5 MB
colormc-windows-arm64-aot Expired
42.1 MB
colormc-windows-x64 Expired
48.3 MB
colormc-windows-x64-aot Expired
43.8 MB
colormc-windows-x64-aot-msi Expired
36.5 MB
colormc-windows-x64-msi Expired
44.6 MB