Skip to content

Publish Nuget Packages #82

Publish Nuget Packages

Publish Nuget Packages #82

Manually triggered November 8, 2025 09:17
Status Success
Total duration 3m 1s
Artifacts 1

main.yml

on: workflow_dispatch
Updating Version
6s
Updating Version
Publishing  /  Build, test and publish
2m 49s
Publishing / Build, test and publish
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Publishing / Build, test and publish: src/GenerativeAI/Types/Batch/BatchJobResponseConverter.cs#L82
In externally visible method 'void BatchJobResponseConverter.Write(Utf8JsonWriter writer, BatchJobResponse value, JsonSerializerOptions options)', validate parameter 'writer' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Publishing / Build, test and publish: src/GenerativeAI/Types/Batch/BatchJobResponseConverter.cs#L84
In externally visible method 'void BatchJobResponseConverter.Write(Utf8JsonWriter writer, BatchJobResponse value, JsonSerializerOptions options)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Publishing / Build, test and publish: src/GenerativeAI/Types/Jobs/JobStateConverter.cs#L45
In externally visible method 'void JobStateConverter.Write(Utf8JsonWriter writer, JobState value, JsonSerializerOptions options)', validate parameter 'writer' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Publishing / Build, test and publish: src/GenerativeAI/Types/Jobs/JobStateConverter.cs#L27
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'GenerativeAI.Types.JobStateConverter.Read(ref System.Text.Json.Utf8JsonReader, System.Type, System.Text.Json.JsonSerializerOptions)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
Publishing / Build, test and publish: src/GenerativeAI/Platforms/GoogleAIPlatformAdapter.cs#L219
In member string GoogleAIPlatformAdapter.GetBaseUrl(bool appendVersion = true, bool appendPublisher = true, bool appendLocation = true, bool appendProject = true), change parameter name appendVersion to appendVesion in order to match the identifier as it has been declared in string IPlatformAdapter.GetBaseUrl(bool appendVesion = true, bool appendPublisher = true, bool appendLocation = true, bool appendProject = true) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
Publishing / Build, test and publish: src/GenerativeAI/Platforms/VertextPlatformAdapter.cs#L331
In member string VertextPlatformAdapter.GetBaseUrl(bool appendVersion = true, bool appendPublisher = true, bool appendLocation = true, bool appendProject = true), change parameter name appendVersion to appendVesion in order to match the identifier as it has been declared in string IPlatformAdapter.GetBaseUrl(bool appendVesion = true, bool appendPublisher = true, bool appendLocation = true, bool appendProject = true) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
Publishing / Build, test and publish: src/GenerativeAI/Core/IPlatformAdapter.cs#L109
Parameter 'appendLocation' has no matching param tag in the XML comment for 'IPlatformAdapter.GetFullyQualifiedModelName(string, bool)' (but other parameters do)
Publishing / Build, test and publish: src/GenerativeAI/Types/Jobs/JobStateConverter.cs#L43
Missing XML comment for publicly visible type or member 'JobStateConverter.Write(Utf8JsonWriter, JobState, JsonSerializerOptions)'
Publishing / Build, test and publish: src/GenerativeAI/Types/Jobs/JobStateConverter.cs#L13
Missing XML comment for publicly visible type or member 'JobStateConverter.Read(ref Utf8JsonReader, Type, JsonSerializerOptions)'
Publishing / Build, test and publish: src/GenerativeAI/Types/Jobs/JobStateConverter.cs#L27
Dereference of a possibly null reference.

Artifacts

Produced during runtime
Name Size Digest
nuget-packages-ubuntu-latest
11.6 MB
sha256:2fdfb8461a0474774844a51e34c5ac6e03910d3e6a1686c1eca44e82acec33af