diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index 2414fb2..b9ea56e 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -27,7 +27,7 @@ jobs: - name: Check vulnerable NuGet packages uses: elmahio/github-check-vulnerable-nuget-packages-action@v1 - + - name: Build run: dotnet build --configuration Release --no-restore @@ -35,28 +35,28 @@ jobs: run: dotnet test --no-restore --verbosity normal - name: Pack Elmah.Io.AspNetCore - run: dotnet pack --configuration Release src/Elmah.Io.AspNetCore/Elmah.Io.AspNetCore.csproj /p:Version=5.1.${{ github.run_number }}-pre + run: dotnet pack --configuration Release src/Elmah.Io.AspNetCore/Elmah.Io.AspNetCore.csproj /p:Version=5.1.${{ github.run_number }} - name: Pack Elmah.Io.AspNetCore.TagHelpers - run: dotnet pack --configuration Release src/Elmah.Io.AspNetCore.TagHelpers/Elmah.Io.AspNetCore.TagHelpers.csproj /p:Version=5.1.${{ github.run_number }}-pre + run: dotnet pack --configuration Release src/Elmah.Io.AspNetCore.TagHelpers/Elmah.Io.AspNetCore.TagHelpers.csproj /p:Version=5.1.${{ github.run_number }} - name: Pack Elmah.Io.AspNetCore.HealthChecks - run: dotnet pack --configuration Release src/Elmah.Io.AspNetCore.HealthChecks/Elmah.Io.AspNetCore.HealthChecks.csproj /p:Version=5.1.${{ github.run_number }}-pre + run: dotnet pack --configuration Release src/Elmah.Io.AspNetCore.HealthChecks/Elmah.Io.AspNetCore.HealthChecks.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 Elmah.Io.AspNetCore - run: dotnet-validate package local src/Elmah.Io.AspNetCore/bin/Release/Elmah.Io.AspNetCore.5.1.${{ github.run_number }}-pre.nupkg + run: dotnet-validate package local src/Elmah.Io.AspNetCore/bin/Release/Elmah.Io.AspNetCore.5.1.${{ github.run_number }}.nupkg - name: Validate Elmah.Io.AspNetCore.TagHelpers - run: dotnet-validate package local src/Elmah.Io.AspNetCore.TagHelpers/bin/Release/Elmah.Io.AspNetCore.TagHelpers.5.1.${{ github.run_number }}-pre.nupkg + run: dotnet-validate package local src/Elmah.Io.AspNetCore.TagHelpers/bin/Release/Elmah.Io.AspNetCore.TagHelpers.5.1.${{ github.run_number }}.nupkg - name: Validate Elmah.Io.AspNetCore.HealthChecks - run: dotnet-validate package local src/Elmah.Io.AspNetCore.HealthChecks/bin/Release/Elmah.Io.AspNetCore.HealthChecks.5.1.${{ github.run_number }}-pre.nupkg + run: dotnet-validate package local src/Elmah.Io.AspNetCore.HealthChecks/bin/Release/Elmah.Io.AspNetCore.HealthChecks.5.1.${{ github.run_number }}.nupkg - name: Push Elmah.Io.AspNetCore to nuget.org - run: dotnet nuget push src/Elmah.Io.AspNetCore/bin/Release/Elmah.Io.AspNetCore.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.AspNetCore/bin/Release/Elmah.Io.AspNetCore.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.AspNetCore.TagHelpers to nuget.org - run: dotnet nuget push src/Elmah.Io.AspNetCore.TagHelpers/bin/Release/Elmah.Io.AspNetCore.TagHelpers.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.AspNetCore.TagHelpers/bin/Release/Elmah.Io.AspNetCore.TagHelpers.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.AspNetCore.HealthChecks to nuget.org - run: dotnet nuget push src/Elmah.Io.AspNetCore.HealthChecks/bin/Release/Elmah.Io.AspNetCore.HealthChecks.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.AspNetCore.HealthChecks/bin/Release/Elmah.Io.AspNetCore.HealthChecks.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' }}