From c9636db2b6687fd769ca18c47fda10a35a0ba439 Mon Sep 17 00:00:00 2001 From: Thomas Ardal Date: Thu, 6 Jun 2024 08:44:26 +0200 Subject: [PATCH] 5.1 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 fd41a38..668ad46 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,11 +31,11 @@ jobs: - name: Test run: dotnet test --configuration Release --no-build --verbosity normal - name: Pack - run: dotnet pack --configuration Release src/Elmah.Io.Heartbeats.Hangfire/Elmah.Io.Heartbeats.Hangfire.csproj /p:Version=5.1.${{ github.run_number }}-pre + run: dotnet pack --configuration Release src/Elmah.Io.Heartbeats.Hangfire/Elmah.Io.Heartbeats.Hangfire.csproj /p:Version=5.1.${{ 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/Elmah.Io.Heartbeats.Hangfire/bin/Release/Elmah.Io.Heartbeats.Hangfire.5.1.${{ github.run_number }}-pre.nupkg + run: dotnet-validate package local src/Elmah.Io.Heartbeats.Hangfire/bin/Release/Elmah.Io.Heartbeats.Hangfire.5.1.${{ github.run_number }}.nupkg - name: Push to nuget.org - run: dotnet nuget push src/Elmah.Io.Heartbeats.Hangfire/bin/Release/Elmah.Io.Heartbeats.Hangfire.5.1.${{ github.run_number }}-pre.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json + run: dotnet nuget push src/Elmah.Io.Heartbeats.Hangfire/bin/Release/Elmah.Io.Heartbeats.Hangfire.5.1.${{ github.run_number }}.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json if: ${{ github.event_name == 'push' }}