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 29, 2024
1 parent cb66f12 commit b215131
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,38 +23,38 @@ jobs:
- name: Restore
run: nuget restore elmah.io.sln
- name: Build
run: msbuild elmah.io.sln /t:Build /p:Configuration=Release /p:Version=5.1.${{ github.run_number }}-pre
run: msbuild elmah.io.sln /t:Build /p:Configuration=Release /p:Version=5.1.${{ github.run_number }}
- name: Test
run: dotnet vstest test\Elmah.Io.Tests\bin\Release\net472\Elmah.Io.Tests.dll
- name: Pack Elmah.Io
run: nuget pack Elmah.Io.nuspec -Version 5.1.${{ github.run_number }}-pre -Properties Configuration=Release -Properties Commit=${{ github.sha }}
run: nuget pack Elmah.Io.nuspec -Version 5.1.${{ github.run_number }} -Properties Configuration=Release -Properties Commit=${{ github.sha }}
- name: Pack Elmah.Io.AspNet
run: nuget pack Elmah.Io.AspNet.nuspec -Version 5.1.${{ github.run_number }}-pre -Properties Configuration=Release -Properties Commit=${{ github.sha }}
run: nuget pack Elmah.Io.AspNet.nuspec -Version 5.1.${{ github.run_number }} -Properties Configuration=Release -Properties Commit=${{ github.sha }}
- name: Pack Elmah.Io.Mvc
run: nuget pack Elmah.Io.Mvc.nuspec -Version 5.1.${{ github.run_number }}-pre -Properties Configuration=Release -Properties Commit=${{ github.sha }}
run: nuget pack Elmah.Io.Mvc.nuspec -Version 5.1.${{ github.run_number }} -Properties Configuration=Release -Properties Commit=${{ github.sha }}
- name: Pack Elmah.Io.WebApi
run: nuget pack Elmah.Io.WebApi.nuspec -Version 5.1.${{ github.run_number }}-pre -Properties Configuration=Release -Properties Commit=${{ github.sha }}
run: nuget pack Elmah.Io.WebApi.nuspec -Version 5.1.${{ github.run_number }} -Properties Configuration=Release -Properties Commit=${{ github.sha }}

- name: Install dotnet-validate
run: dotnet tool install --global dotnet-validate --version 0.0.1-preview.304
- name: Validate Elmah.Io
run: dotnet-validate package local elmah.io.5.1.${{ github.run_number }}-pre.nupkg
run: dotnet-validate package local elmah.io.5.1.${{ github.run_number }}.nupkg
- name: Validate Elmah.Io.AspNet
run: dotnet-validate package local Elmah.Io.AspNet.5.1.${{ github.run_number }}-pre.nupkg
run: dotnet-validate package local Elmah.Io.AspNet.5.1.${{ github.run_number }}.nupkg
- name: Validate Elmah.Io.Mvc
run: dotnet-validate package local Elmah.Io.Mvc.5.1.${{ github.run_number }}-pre.nupkg
run: dotnet-validate package local Elmah.Io.Mvc.5.1.${{ github.run_number }}.nupkg
- name: Validate Elmah.Io.WebApi
run: dotnet-validate package local Elmah.Io.WebApi.5.1.${{ github.run_number }}-pre.nupkg
run: dotnet-validate package local Elmah.Io.WebApi.5.1.${{ github.run_number }}.nupkg

- name: Push Elmah.Io
run: dotnet nuget push Elmah.Io.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 Elmah.Io.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' }}
- name: Push Elmah.Io.AspNet
run: dotnet nuget push Elmah.Io.AspNet.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 Elmah.Io.AspNet.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' }}
- name: Push Elmah.Io.Mvc
run: dotnet nuget push Elmah.Io.Mvc.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 Elmah.Io.Mvc.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' }}
- name: Push Elmah.Io.WebApi
run: dotnet nuget push Elmah.Io.WebApi.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 Elmah.Io.WebApi.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 b215131

Please sign in to comment.