Skip to content

Commit

Permalink
5.0 in stable
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasArdal committed Jul 24, 2023
1 parent 6ef877d commit faaa6aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,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.0.${{ github.run_number }}-pre
run: dotnet pack --configuration Release src/Elmah.Io.Heartbeats.Hangfire/Elmah.Io.Heartbeats.Hangfire.csproj /p:Version=5.0.${{ 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.0.${{ github.run_number }}-pre.nupkg
run: dotnet-validate package local src/Elmah.Io.Heartbeats.Hangfire/bin/Release/Elmah.Io.Heartbeats.Hangfire.5.0.${{ 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.0.${{ 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.0.${{ github.run_number }}.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
if: ${{ github.event_name == 'push' }}

0 comments on commit faaa6aa

Please sign in to comment.