Skip to content

Commit

Permalink
5.1 in stable
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasArdal committed May 21, 2024
1 parent c13e2a4 commit acb6398
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 @@ -29,11 +29,11 @@ jobs:
- name: Test
run: dotnet test --no-restore
- name: Pack
run: dotnet pack --configuration Release /p:Version=5.1.${{ github.run_number }}-pre
run: dotnet pack --configuration Release /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.Client.Extensions.Correlation/bin/Release/Elmah.Io.Client.Extensions.Correlation.5.1.${{ github.run_number }}-pre.nupkg
run: dotnet-validate package local src/Elmah.Io.Client.Extensions.Correlation/bin/Release/Elmah.Io.Client.Extensions.Correlation.5.1.${{ github.run_number }}.nupkg
- name: Push
run: dotnet nuget push src/Elmah.Io.Client.Extensions.Correlation/bin/Release/Elmah.Io.Client.Extensions.Correlation.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.Client.Extensions.Correlation/bin/Release/Elmah.Io.Client.Extensions.Correlation.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' }}

0 comments on commit acb6398

Please sign in to comment.