Skip to content

Commit

Permalink
Resume push to nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasArdal committed Oct 4, 2024
1 parent f48abf2 commit eff616a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Build
run: dotnet build --configuration Release --no-restore

- name: Test .NET
- name: Test
env:
SECRET_BASE_URL: ${{ secrets.SECRET_BASE_URL }}
SECRET_API_KEY: ${{ secrets.SECRET_API_KEY }}
Expand All @@ -38,6 +38,6 @@ jobs:
- name: Pack
run: dotnet pack --configuration Release src/Elmah.Io.Client/Elmah.Io.Client.csproj /p:Version=5.2.${{ github.run_number }}-pre

#- name: Push
# run: dotnet nuget push src/Elmah.Io.Client/bin/Release/Elmah.Io.Client.5.2.${{ github.run_number }}-pre.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
# if: ${{ github.event_name == 'push' }}
- name: Push
run: dotnet nuget push src/Elmah.Io.Client/bin/Release/Elmah.Io.Client.5.2.${{ github.run_number }}-pre.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
if: ${{ github.event_name == 'push' }}

0 comments on commit eff616a

Please sign in to comment.