From dc3ebec33ae5f3aaf3b17ab5f76eb008baad1cce Mon Sep 17 00:00:00 2001 From: Thomas Ardal Date: Wed, 4 Dec 2024 12:46:06 +0100 Subject: [PATCH] 5.2 in stable --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5f33146..ab54879 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,11 +44,11 @@ jobs: - name: Test run: dotnet test --no-restore --verbosity normal - name: Pack - run: dotnet pack --configuration Release src/Serilog.Sinks.ElmahIo/Serilog.Sinks.ElmahIo.csproj /p:Version=5.2.${{ github.run_number }}-pre + run: dotnet pack --configuration Release src/Serilog.Sinks.ElmahIo/Serilog.Sinks.ElmahIo.csproj /p:Version=5.2.${{ github.run_number }} - name: Install dotnet-validate run: dotnet tool install --global dotnet-validate --version 0.0.1-preview.304 - name: Validate - run: dotnet validate package local src/Serilog.Sinks.ElmahIO/bin/Release/Serilog.Sinks.ElmahIo.5.2.${{ github.run_number }}-pre.nupkg + run: dotnet validate package local src/Serilog.Sinks.ElmahIO/bin/Release/Serilog.Sinks.ElmahIo.5.2.${{ github.run_number }}.nupkg - name: Push - run: dotnet nuget push src/Serilog.Sinks.ElmahIo/bin/Release/Serilog.Sinks.ElmahIo.5.2.${{ github.run_number }}-pre.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json + run: dotnet nuget push src/Serilog.Sinks.ElmahIo/bin/Release/Serilog.Sinks.ElmahIo.5.2.${{ github.run_number }}.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json if: ${{ github.event_name == 'push' }}