Skip to content

Update dotnet.yml to build a windows artifact #3

Update dotnet.yml to build a windows artifact

Update dotnet.yml to build a windows artifact #3

Triggered via push July 11, 2024 19:11
Status Failure
Total duration 1m 37s
Artifacts 1

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 27 warnings
build_windows
Assets file 'D:\a\PetsOptimizer\PetsOptimizer\PetsOptimizer\obj\project.assets.json' doesn't have a target for 'net6.0/win-x64'. Ensure that restore has run and that you have included 'net6.0' in the TargetFrameworks for your project. You may also need to include 'win-x64' in your project's RuntimeIdentifiers.
build_windows
Process completed with exit code 1.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-dotnet@v3, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
build: PetsOptimizer/JsonParser/JsonParser.cs#L25
Nullability of type of parameter 'existingValue' doesn't match overridden member (possibly because of nullability attributes).
build: PetsOptimizer/JsonParser/JsonParser.cs#L55
Nullability of type of parameter 'value' doesn't match overridden member (possibly because of nullability attributes).
build: PetsOptimizer/Program.cs#L18
Dereference of a possibly null reference.
build: PetsOptimizer/JsonParser/JsonParser.cs#L29
Dereference of a possibly null reference.
build: PetsOptimizer/JsonParser/JsonParser.cs#L31
Possible null reference return.
build: PetsOptimizer/JsonParser/JsonParser.cs#L36
Dereference of a possibly null reference.
build: PetsOptimizer/JsonParser/JsonParser.cs#L42
Converting null literal or possible null value to non-nullable type.
build: PetsOptimizer/JsonParser/BreedingData.cs#L26
Dereference of a possibly null reference.
build: PetsOptimizer/JsonParser/BreedingData.cs#L28
Dereference of a possibly null reference.
build: PetsOptimizer/JsonParser/BreedingData.cs#L38
Possible null reference argument for parameter 'data' in 'Pet.Pet(PetData data)'.
build_windows
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build_windows
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build_windows
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
build_windows: PetsOptimizer/JsonParser/JsonParser.cs#L25
Nullability of type of parameter 'existingValue' doesn't match overridden member (possibly because of nullability attributes).
build_windows: PetsOptimizer/JsonParser/JsonParser.cs#L55
Nullability of type of parameter 'value' doesn't match overridden member (possibly because of nullability attributes).
build_windows: PetsOptimizer/Program.cs#L18
Dereference of a possibly null reference.
build_windows: PetsOptimizer/JsonParser/JsonParser.cs#L29
Dereference of a possibly null reference.
build_windows: PetsOptimizer/JsonParser/JsonParser.cs#L31
Possible null reference return.
build_windows: PetsOptimizer/JsonParser/JsonParser.cs#L36
Dereference of a possibly null reference.
build_windows: PetsOptimizer/JsonParser/JsonParser.cs#L42
Converting null literal or possible null value to non-nullable type.
build_windows: PetsOptimizer/JsonParser/BreedingData.cs#L26
Dereference of a possibly null reference.
build_windows: PetsOptimizer/JsonParser/BreedingData.cs#L28
Dereference of a possibly null reference.
build_windows: PetsOptimizer/JsonParser/BreedingData.cs#L38
Possible null reference argument for parameter 'data' in 'Pet.Pet(PetData data)'.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "publish-ubuntu". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
publish-ubuntu Expired
537 KB