Skip to content

Commit

Permalink
Update wfnetcorev2.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
iscifoni authored Oct 19, 2023
1 parent ce37213 commit ba23c04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/wfnetcorev2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ env:
GITHUB_FEED: https://nuget.pkg.github.com/shaprcode-it/
GITHUB_USER: iscifoni
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PERSONAL_TOKEN: ${{ secrets.PACKAGESTOKEN }}
# Official NuGet Feed settings
NUGET_FEED: https://api.nuget.org/v3/index.json
NUGET_KEY: ${{ secrets.NUGET_TOKEN }}
Expand Down Expand Up @@ -92,7 +93,7 @@ jobs:
- name: List sources
run: dotnet --info
- name: Publish the package to GitHub
run: dotnet nuget push "*.nupkg" --source "github" --api-key ${{ secrets.GITHUB_TOKEN }}
run: dotnet nuget push "*.nupkg" --source "github" --api-key $PERSONAL_TOKEN
deploy:
needs: build
if: github.event_name == 'release' && startsWith(github.ref, 'refs/heads/v')
Expand Down

0 comments on commit ba23c04

Please sign in to comment.