Skip to content

Commit

Permalink
Update release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
omercnet committed May 29, 2024
1 parent 2d9c0f7 commit 22d1607
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,5 @@ jobs:
run: dotnet pack --configuration Release ${{ env.PACKAGE_NAME }}
- name: Publish the package to GPR
run: dotnet nuget push ${{ env.PACKAGE_NAME }}/bin/Release/*.nupkg
- uses: actions/setup-dotnet@v4
with:
source-url: https://api.nuget.org/v3/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_ORG_KEY }}
- name: Publish the package to NuGet.org
run: dotnet nuget push ${{ env.PACKAGE_NAME }}/bin/Release/*.nupkg
run: dotnet nuget push -k ${{ secrets.NUGET_ORG_KEY }} -s https://api.nuget.org/v3/index.json ${{ env.PACKAGE_NAME }}/bin/Release/*.nupkg

0 comments on commit 22d1607

Please sign in to comment.