Skip to content

Commit 9de20e5

Browse files
committed
upgrade latest version of actions
1 parent ce2ddea commit 9de20e5

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/publish.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ jobs:
2323
create_nuget:
2424
runs-on: ubuntu-latest
2525
steps:
26-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
2727
with:
2828
fetch-depth: 0 # Get all history to allow automatic versioning using MinVer
2929

3030
# Install the .NET SDK indicated in the global.json file
3131
- name: Setup .NET
32-
uses: actions/setup-dotnet@v3
32+
uses: actions/setup-dotnet@v4
3333

3434
# Create the NuGet package in the folder from the environment variable NuGetDirectory
3535
- run: dotnet pack --configuration Release --output ${{ env.NuGetDirectory }}
3636

3737
# Publish the NuGet package as an artifact, so they can be used in the following jobs
38-
- uses: actions/upload-artifact@v3
38+
- uses: actions/upload-artifact@v4
3939
with:
4040
name: nuget
4141
if-no-files-found: error
@@ -48,20 +48,20 @@ jobs:
4848
steps:
4949
# Install the .NET SDK indicated in the global.json file
5050
- name: Setup .NET
51-
uses: actions/setup-dotnet@v3
51+
uses: actions/setup-dotnet@v4
5252

5353
# Download the NuGet package created in the previous job
54-
- uses: actions/download-artifact@v3
54+
- uses: actions/download-artifact@v4
5555
with:
5656
name: nuget
5757
path: ${{ env.NuGetDirectory }}
5858

5959
run_test:
6060
runs-on: ubuntu-latest
6161
steps:
62-
- uses: actions/checkout@v3
62+
- uses: actions/checkout@v4
6363
- name: Setup .NET
64-
uses: actions/setup-dotnet@v3
64+
uses: actions/setup-dotnet@v4
6565
- name: Run tests
6666
run: dotnet test --configuration Release
6767

@@ -74,14 +74,14 @@ jobs:
7474
needs: [ validate_nuget, run_test ]
7575
steps:
7676
# Download the NuGet package created in the previous job
77-
- uses: actions/download-artifact@v3
77+
- uses: actions/download-artifact@v4
7878
with:
7979
name: nuget
8080
path: ${{ env.NuGetDirectory }}
8181

8282
# Install the .NET SDK indicated in the global.json file
8383
- name: Setup .NET Core
84-
uses: actions/setup-dotnet@v3
84+
uses: actions/setup-dotnet@v4
8585

8686
# Publish all NuGet packages to NuGet.org
8787
# Use --skip-duplicate to prevent errors if a package with the same version already exists.

Sstv.DomainExceptions.Extensions.ProblemDetails/ErrorCodeProblemDetails.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Collections;
2-
using System.Diagnostics.CodeAnalysis;
32
using System.Text.Json.Serialization;
43

54
namespace Sstv.DomainExceptions.Extensions.ProblemDetails;

Sstv.DomainExceptions.Extensions.ProblemDetails/Sstv.DomainExceptions.Extensions.ProblemDetails.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<IsPackable>true</IsPackable>
66
<PackageReadmeFile>README.md</PackageReadmeFile>
7+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
78
</PropertyGroup>
8-
9+
910
<ItemGroup>
1011
<None Include="README.md" Pack="true" PackagePath="\" />
1112
</ItemGroup>
@@ -24,7 +25,7 @@
2425
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
2526
</PackageReference>
2627
</ItemGroup>
27-
28+
2829
<ItemGroup>
2930
<ProjectReference Include="..\Sstv.DomainExceptions.Extensions.DependencyInjection\Sstv.DomainExceptions.Extensions.DependencyInjection.csproj" />
3031
</ItemGroup>

0 commit comments

Comments
 (0)