Skip to content

up 更新版本号

up 更新版本号 #60

Triggered via push February 2, 2024 03:09
Status Success
Total duration 12m 58s
Artifacts 14

dotnet-build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

28 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/GameWindow/TopView.cs#L22
Field 'TopView.hndl' is never assigned to, and will always have its default value null
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/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/UI/Controls/GameWindow/TopView.cs#L22
Field 'TopView.hndl' is never assigned to, and will always have its default value null
build-linux: src/ColorMC.Gui/Utils/Hook/Win32Native.cs#L20
The event 'Win32Native.IsFocus' is never used
build-linux: src/ColorMC.Launcher/Program.cs#L134
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#L214
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-linux: src/ColorMC.Launcher/Program.cs#L219
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-linux: src/ColorMC.Launcher/Program.cs#L226
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
build-linux: src/ColorMC.Launcher/Program.cs#L247
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types 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/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/UI/Controls/GameWindow/TopView.cs#L22
Field 'TopView.hndl' is never assigned to, and will always have its default value null
build-windows: src/ColorMC.Gui/Utils/Hook/Win32Native.cs#L20
The event 'Win32Native.IsFocus' is never used
build-windows: src/ColorMC.Launcher/Program.cs#L134
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#L214
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: src/ColorMC.Launcher/Program.cs#L219
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: src/ColorMC.Launcher/Program.cs#L226
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
build-windows: src/ColorMC.Launcher/Program.cs#L247
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types 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.9 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.6 MB
colormc-windows-x64-msi Expired
44.5 MB