Skip to content

a new install game service #1175

a new install game service

a new install game service #1175

Triggered via pull request July 23, 2024 15:56
Status Success
Total duration 5m 20s
Artifacts 4

build.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

44 warnings
build (Debug, arm64)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3, microsoft/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (Debug, arm64): src/Starward.Core/HoYoPlay/HoYoPlayClient.cs#L56
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonNode, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
build (Debug, arm64): src/Starward/obj/arm64/Debug/net8.0-windows10.0.22621.0/win10-arm64/Pages/GameLauncherPage.g.i.cs#L22
'GameLauncherPage.GameBannerAndPost': new protected member declared in sealed type
build (Debug, arm64): src/Starward/obj/arm64/Debug/net8.0-windows10.0.22621.0/win10-arm64/Pages/GameLauncherPage.g.i.cs#L48
'GameLauncherPage.Button_SettingRepairGame': new protected member declared in sealed type
build (Debug, arm64): src/Starward/obj/arm64/Debug/net8.0-windows10.0.22621.0/win10-arm64/Pages/GameLauncherPage.g.i.cs#L50
'GameLauncherPage.Button_UninstallGame': new protected member declared in sealed type
build (Debug, arm64): src/Starward/Controls/GameBizSelector.xaml.cs#L143
The variable 'ex' is declared but never used
build (Debug, arm64): src/Starward/Pages/Welcome/SelectGamePage.xaml.cs#L110
'AppConfig.SetLastRegionOfGame(GameBiz, GameBiz)' is obsolete: '已不用'
build (Debug, arm64): src/Starward/Controls/GameBannerAndPost.xaml.cs#L236
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 (Debug, arm64): src/Starward/Services/Gacha/ZZZGachaService.cs#L222
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 (Debug, arm64): src/Starward/Services/Gacha/ZZZGachaService.cs#L241
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 (Debug, arm64): src/Starward/Pages/MainPage.xaml.cs#L157
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 (Debug, x64)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3, microsoft/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (Debug, x64): src/Starward.Launcher/Starward.Launcher.cpp#L23
'argument': conversion from 'size_t' to 'DWORD', possible loss of data
build (Debug, x64): src/Starward.Launcher/Starward.Launcher.cpp#L24
'argument': conversion from 'size_t' to 'DWORD', possible loss of data
build (Debug, x64): src/Starward.Core/HoYoPlay/HoYoPlayClient.cs#L56
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonNode, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
build (Debug, x64): src/Starward/obj/x64/Debug/net8.0-windows10.0.22621.0/win10-x64/Pages/GameLauncherPage.g.i.cs#L22
'GameLauncherPage.GameBannerAndPost': new protected member declared in sealed type
build (Debug, x64): src/Starward/obj/x64/Debug/net8.0-windows10.0.22621.0/win10-x64/Pages/GameLauncherPage.g.i.cs#L48
'GameLauncherPage.Button_SettingRepairGame': new protected member declared in sealed type
build (Debug, x64): src/Starward/obj/x64/Debug/net8.0-windows10.0.22621.0/win10-x64/Pages/GameLauncherPage.g.i.cs#L50
'GameLauncherPage.Button_UninstallGame': new protected member declared in sealed type
build (Debug, x64): src/Starward/Controls/GameBizSelector.xaml.cs#L143
The variable 'ex' is declared but never used
build (Debug, x64): src/Starward/Controls/GameBannerAndPost.xaml.cs#L236
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 (Debug, x64): src/Starward/Services/Gacha/ZZZGachaService.cs#L222
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 (Debug, x64): src/Starward/Services/Gacha/ZZZGachaService.cs#L241
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 (Release, x64)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3, microsoft/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (Release, x64): src/Starward.Launcher/Starward.Launcher.cpp#L23
'argument': conversion from 'size_t' to 'DWORD', possible loss of data
build (Release, x64): src/Starward.Launcher/Starward.Launcher.cpp#L24
'argument': conversion from 'size_t' to 'DWORD', possible loss of data
build (Release, x64): src/Starward.Core/HoYoPlay/HoYoPlayClient.cs#L56
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonNode, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
build (Release, x64): src/Starward/obj/x64/Release/net8.0-windows10.0.22621.0/win10-x64/Pages/GameLauncherPage.g.i.cs#L22
'GameLauncherPage.GameBannerAndPost': new protected member declared in sealed type
build (Release, x64): src/Starward/obj/x64/Release/net8.0-windows10.0.22621.0/win10-x64/Pages/GameLauncherPage.g.i.cs#L48
'GameLauncherPage.Button_SettingRepairGame': new protected member declared in sealed type
build (Release, x64): src/Starward/obj/x64/Release/net8.0-windows10.0.22621.0/win10-x64/Pages/GameLauncherPage.g.i.cs#L50
'GameLauncherPage.Button_UninstallGame': new protected member declared in sealed type
build (Release, x64): src/Starward/Controls/GameBizSelector.xaml.cs#L143
The variable 'ex' is declared but never used
build (Release, x64): src/Starward/Controls/GameBannerAndPost.xaml.cs#L236
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 (Release, x64): src/Starward/Pages/Welcome/SelectGamePage.xaml.cs#L110
'AppConfig.SetLastRegionOfGame(GameBiz, GameBiz)' is obsolete: '已不用'
build (Release, x64): src/Starward/Pages/MainPage.xaml.cs#L157
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 (Release, arm64)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3, microsoft/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (Release, arm64): src/Starward.Core/HoYoPlay/HoYoPlayClient.cs#L56
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonNode, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
build (Release, arm64): src/Starward/obj/arm64/Release/net8.0-windows10.0.22621.0/win10-arm64/Pages/GameLauncherPage.g.i.cs#L22
'GameLauncherPage.GameBannerAndPost': new protected member declared in sealed type
build (Release, arm64): src/Starward/obj/arm64/Release/net8.0-windows10.0.22621.0/win10-arm64/Pages/GameLauncherPage.g.i.cs#L48
'GameLauncherPage.Button_SettingRepairGame': new protected member declared in sealed type
build (Release, arm64): src/Starward/obj/arm64/Release/net8.0-windows10.0.22621.0/win10-arm64/Pages/GameLauncherPage.g.i.cs#L50
'GameLauncherPage.Button_UninstallGame': new protected member declared in sealed type
build (Release, arm64): src/Starward/Controls/GameBannerAndPost.xaml.cs#L236
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 (Release, arm64): src/Starward/Controls/GameBizSelector.xaml.cs#L143
The variable 'ex' is declared but never used
build (Release, arm64): src/Starward/Pages/Welcome/SelectGamePage.xaml.cs#L110
'AppConfig.SetLastRegionOfGame(GameBiz, GameBiz)' is obsolete: '已不用'
build (Release, arm64): src/Starward/Pages/MainPage.xaml.cs#L157
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 (Release, arm64): src/Starward/Services/Gacha/ZZZGachaService.cs#L222
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 (Release, arm64): src/Starward/Services/Gacha/ZZZGachaService.cs#L241
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.

Artifacts

Produced during runtime
Name Size
Starward_Debug_arm64_fd6f2ef Expired
58.7 MB
Starward_Debug_x64_fd6f2ef Expired
60.3 MB
Starward_Release_arm64_fd6f2ef Expired
69.4 MB
Starward_Release_x64_fd6f2ef Expired
72 MB