Skip to content

Commit

Permalink
fixed pack and push
Browse files Browse the repository at this point in the history
  • Loading branch information
cmendible committed Mar 29, 2024
1 parent b58a620 commit d1b9f02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/netDumbster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ jobs:

- name: Pack nugets
run: dotnet pack -c Release --no-build --output .
if: matrix.os == 'linux-latest' && github.event_name != 'pull_request' && startswith(github.ref, 'refs/tags/v')
if: matrix.os == 'ubuntu-latest' && github.event_name != 'pull_request' && startswith(github.ref, 'refs/tags/v')

- name: Push to NuGet
run: dotnet nuget push "*.nupkg" --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
if: matrix.os == 'linux-latest' && github.event_name != 'pull_request' && startswith(github.ref, 'refs/tags/v')
if: matrix.os == 'ubuntu-latest' && github.event_name != 'pull_request' && startswith(github.ref, 'refs/tags/v')

0 comments on commit d1b9f02

Please sign in to comment.