Skip to content

Commit

Permalink
Added nuget source
Browse files Browse the repository at this point in the history
  • Loading branch information
rickardp authored Feb 14, 2023
1 parent 3350731 commit 72514c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
run: dotnet build --no-restore --configuration Release /p:Version=$(echo $GITHUB_REF | cut -d / -f 3)
- name: Test
run: dotnet test --no-build --no-restore --configuration Release --no-restore /p:Version=$(echo $GITHUB_REF | cut -d / -f 3)
#- name: Publish to nuget.org
# run: find . -name $projectName\*.nupkg -print -exec dotnet nuget push -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_ORG_KEY }} {} \;
- name: Publish to nuget.org
run: find . -name $projectName\*.nupkg -print -exec dotnet nuget push -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_ORG_KEY }} {} \;
- name: Publish to GitHub
run: find . -name $projectName\*.nupkg -print -exec dotnet nuget push -s github -k ${{ secrets.GITHUB_TOKEN }} {} \;

0 comments on commit 72514c6

Please sign in to comment.